Customize JPanel using Forte

322 byte By marcosraldesa at 2007-9-28 4:26:34
I'm trying to override the paintComponent method of a JPanel, I'm using Forte for Java 3.0 and I don't know how to do this, I'm a beginer with Java. I already have the panel on my JFrame (my window), and I need to override that method so I can make custom draws on it. I hope that somebody ...

File Listening

158 byte By TheXPhoenixa at 2007-9-28 4:32:02
Is is possible to listen to a particular file (ie c:\abc\somefile.txt) so that if it is modified, an event will be triggered.Many thanks...Peter

problem: creating file association for windows from within java application

2585 byte By benno.loefflera at 2007-9-28 4:42:40
hi,I would like to be able to doubleclick on documents of type *.vsdin windows explorer and start a java application opening the doubleclicked file.The java application is installed by an install anywhere installer.So I have a starter which is an exe file (called wertstromDesigner.exe).I ...

Through Java code I want to execute a exe file which is in aJar file

912 byte By ibm_shaha at 2007-9-28 4:43:50
I am having some classes and an exe file in a directory. I have made them in to a Jar file. In a class file which is in that jar file i want to execute a Exe file which is also resides in that jar file. Is it possible to exexute that EXE file?For Example....1. Im having a directory named ...

Drag n Drop

517 byte By gbabajeea at 2007-9-28 4:49:24
Hy,I would first want to know whether it is easier to implement DragnDrop in Swing or Beans?Could anyone please send me the code for Implementing the following.> A toolbox where there is a number of buttons (Each button represents a shape). When the user clicks on one of these buttons, the ...

location of the .hs file

821 byte By MertensLa at 2007-9-28 4:50:12
hello,I'm a newby from Belgium. I did inherit a Java application with a help file incorporated.Everything seems ok: the code looks fine, the help files exists but following code can't find the .hs file and creates an error:String temp = "consolehelp.hs";HelpBroker hb = null;try {URL hsURL = ...

Converting DeskTop Application to Web

534 byte By istikhar99a at 2007-9-28 4:51:50
Hello,I want to convert a NewEra developed desktop application to WebThere are lot many GUI Frames which I would need to convert to web.What should I use from the follwoings.1) JSP a)HTML b)JAVASCRIPT c)Applets2) JSP Tag Libraries.3) Java Server Faces.4) Apache Struts Frame Work.5) Any other ...

including icons on deployment

259 byte By mvhama at 2007-9-28 4:54:36
I have an app that I have created a jar file for. Everthing works fine but I cannot get my icons to work with my jar file. When I run from j-builder I don't have a problem just in my jar. What do I need to do to get my icons to be reconized in my jar.

How to use "System.out.println" in iplanet webserver?

387 byte By k_sudhakara at 2007-9-28 4:54:44
I have a couple of java beans and to monitor their states i need to use the 'System.out.println()' statements but i know it does not print it to the logs(error or access). I would like to know if i can redirect the output of these statements to a specific file or is it already being ...

accessing ressources in jar file

715 byte By AceLevya at 2007-9-28 4:55:07
Hi,I need some help with jar files, please.The concept of jar files is quite new to me and I din't fully unterstand it yet I guess...I'm loading an image byImageIcon image = new ImageIcon("image.gif");now I'd like to pack that image into a jar file, for simplifying reasons when using more ...

BeanInfo.getPropertyDescriptors doesn't respect the order

545 byte By dani_rioa at 2007-9-28 4:57:48
Hello,I need to retrieve the properties descriptors in the same order that are defined in the beanInfo class.In my classBeanInfo I have::properties = { prop1, prop2, ..., propn };public PropertyDescriptor[] getPropertyDescriptors() {return properties;}But, when I retrieve the properties ...

What is the best MVC approach for designing Swing application

479 byte By vsatyaa at 2007-9-28 4:58:03
Hi...I am designing an client/server application. In this I am using java swing for the front-end development. We decided on using MVC approach for the front-end design. I found that there are more than one approachs for designing in MVC.Which is the best way to model. To create your model ...

database login screen

567 byte By bjw5392a at 2007-9-28 5:02:48
I'm creating an application that will be accessing a database. I wanted to handle the user login by selecting "Login" from a JMenu and then a seperate login frame would pop up while disabling the rest of the application interface. I thought this would be simple, but when the new login frame is ...

Help JTree is not displaying inside of JFrame

4287 byte By jjjnoela at 2007-9-28 5:04:40
Hello,I have a frame application, inside the frame I have a jtable. when the users double click on a row from the table. I want to display an internalJFrame, which contain a tree with data on it. I try different combination with no luck. Below is the code where I am calling the internalJFrame ...

Creating a Java game for Windows

219 byte By aa384a at 2007-9-28 5:10:57
Does anyone know a website or tutorial that provides information to Java developers, regarding the production of games? I would like to create my own chess game in Java for use on a Windows platform.Thanks

printing problem

411 byte By ifeabunikeCa at 2007-9-28 5:11:58
I need to get my software to print everything in a table whenever a user wants to print everything in the table.I wrote a code to print the contents of the table. But I discovered that the program simply prints some parts of the table, and only a page Please can somebody tell me (a little code ...

Java Application -- Network implementation

1187 byte By sueAa at 2007-9-28 5:14:37
I have a DB2 database on a computer on a shared network and a Java application that is the front end to the database on the same computer. How do I implement this application so multiple users can run the same application by double clicking an icon from each of their desktops?(1) Do I create a ...

preloading a class

407 byte By becilica at 2007-9-28 5:23:00
I have an application using MDI in a JDesktopPane. Each time I open a new class (which extends JInternalFrame) it takes about 5 seconds to load the classes which it uses. Subsequent internal frames (of the same class) load more quickly.How can I load the class upon app startup (say, during a ...

AIX & HP-UX with JavaHelp

476 byte By cem2a at 2007-9-28 5:28:28
I realise that Javahelp has been tested on Solaris & Windows according to the JavaHelp documentation, however, with our next release JavaHelp shall be (if applicable!) shall be used in operating environments IBM-AIX 4.3.2, ..4.3.3, & 5.1 and HP-UX 11 & 11i, and Redhat Linux versions ...

Need source codes for videoconferencing system

301 byte By magicstara at 2007-9-28 5:34:14
Hello everyoneI am badly in need of source codes to transmit audio and video data in a video conferencing system.in fact i need to develop a whole videoconferencing system and and i need source codes to have a starting point at least.PLz help me out.i am really stuck.Thank u ...

Yahoo Messenger Development on SYMBIAN

426 byte By deepkanta at 2007-9-28 5:38:39
Hello Sir/Madam,I am Deepkant Ayarekar, I am currently studying the SYMBIAN OS as a project I am very interested in porting the Yahoo Messenger to SYMBIAN but I am unable to find the Yahoo Messenger Specifications can you help in the same, (I need the Client Server Protocol used by Yahoo ...

chain of responsabilities and command patterns

682 byte By ramzi24a at 2007-9-28 5:40:05
Hi,I'm working on a desktop application with and I'm trying to apply some refactorings to assure a certain level of modularity. I'd like to know if someone had already used the chain of responsabilities and commands pattern to handle users actions for this purpose:1 - Transform Action to ...

[help] application design involving GUI

975 byte By crosscourta at 2007-9-28 5:48:44
Hi All, I'm not quite sure which design approach I should take for this application. My application have objects like messages and each message have pages. I need to write GUIs to allow users visually edit the message. The problem is that there are many dependencies between the objects and the ...

How to improve app response time after it was inactive for a long time

674 byte By joeyedelsteina at 2007-9-28 5:49:45
When used on windows 2000 our application will occasionally take over 20 seconds to reappear after it has been minimized or even just not used for a while. The frame appears but then the contents takes a very very long time to be redrawn. Sometimes it takes so long that users think it has ...

JavaBeans and EJB?

249 byte By manojkithanya at 2007-9-28 5:56:19
Hi Experts:Can anyone tell me DIFFERENCE between JAVABEANS and ENTERPRISE JAVABEANS? I am a newbie to JavaBean world. How do we know which one to use when?Also, any startup BASIC TUTORIAL Link would be appreciated.Thanks!

making a java application which allows to scan images using an scanner

2411 byte By fais79a at 2007-9-28 5:57:39
Hi,When I try to compile Frame1 containing following code:package scan;/** ExampleShow demonstrates how to scan an image using defaults from the Twain source. */import java.awt.*;import java.awt.event.*;import SK.gnome.twain.*;public class Frame1 extends Frame{ Image image; public void ...

How To Password Protect an application.

277 byte By sahrana at 2007-9-28 6:00:00
hi every body, please help.i am writing an application that i intend to sell, what is the best way to make the application pop for a licsense number/password so the program can run...other wise it fails to run...you know the way all software works..thanks

jar breaks search

339 byte By ecohenja at 2007-9-28 6:03:35
When I do a full-text search, the list of topics comes up correctly, but the contents page fails to change. So the search highlights are for the wrong page.The entire app, including the help, is in a single jar (is on windows). And it worked fine before I put it into a jar. Has anyone bumped ...

build a FAQ site using JavaHelp?

386 byte By yuchenatsuna at 2007-9-28 6:04:29
Is JavaHelp a proper tool to build a FAQ web site? I'd like the FAQ to have the following features:- TOC on the top or in a navigation bar so that it's accessable all time;- printable with options to print all, or by section- searchable- option to view one Q&A at a time or all at once in ...

Cant create Event Adaptor?

1145 byte By cozmic_girla at 2007-9-28 6:09:28
Hello,I downloaded BDK1.1 yesterday, and somehow it does notagree with JDK1.4 the version I have...a few missing beans in the toolbox...there were stray solutions on the site, which did not workfor me, so I downloaded JDK1.3. Now, I have all the beans on the toolbox,when I create 2 Ourbuttons: ...

Is this really impossible? (urgent)

402 byte By veroslava at 2007-9-28 6:10:32
Hi all!I have been trying to get some good answer to this question for a while now:Is it possible to launch MS-DOS (in Windows 98) from an application by using the Runtime.exec() method? If it is, I would appreciate if you could tell me how it is done. I think it齭 possible to do in NT and/or ...

Two quick questions...

499 byte By veroslava at 2007-9-28 6:17:20
Hi all! I have two questions:1. I am using a JEditorPane-object as a text container in my text editor that I am programming. The problem is that I can齮 really use TAB-key in it. When i do so, nothing happens. Do you know how this can be solved?2. When I launch an external program from the same ...

PC - Cellphone connectivity

562 byte By ekramulhuqa at 2007-9-28 6:27:12
Hello friends,Happy new year 2003.I want to develop a software that can download all mails and addresses from the cellphone like SONY, NEC, ERICSSON etc on PDC,GSM,CDMA,FOMA system. So I need some information about the Standard to connect a cellphone with the PC and the data format that follow ...

JavaHelp - Some pages crash when printed

619 byte By DerGeista at 2007-9-28 6:30:49
Hi,I am using JavaHelp 1.1.3 with JDK 1.4x. When I try to print my JavaHelp some of the pages print wonderfully while others crash the HSVIEWER interface. As far as I can tell there is no logic to which pages will print and which will not. The crash is severe and pretty much ties up my desktop ...

Any product to test MMS / EMS / Nokia Smart Messaging?

190 byte By mamsofta at 2007-9-28 6:33:25
Hi,Has anyone heard of a product that can be used to test MMS / EMS / Nokia Smart Messaging? If yes, then please let us know the details / experieince.Thanks in advance.

upper case question

155 byte By excaliber2310a at 2007-9-28 6:34:49
how do i make the first letter typed in a jtextfield uppercase. I can quite figure out how to use the document listener. can someone help me. thanks

.hs, index, and map files

166 byte By gs03anna at 2007-9-28 6:37:45
Is there a way to automatically generate this files? The documentation seems to sugest that the author should manually create/modify these files.Regards

Improve onscreen drawing speed

1294 byte By JD_dimaa at 2007-9-28 6:37:48
I am writing a component based on a javax.swing.JPanel. This panel is supposed to deliver a simple api for draing any kind of graphs or diagrams. A GP (graphics panel) contains several childs GO (GraphicsObjects).Those use a simple interface to draw themselfes on a Graphics.I am using double ...

how do you run a jar file

71 byte By dzack741a at 2007-9-28 6:43:46
sorry its such an idiotic question, but does anyone know? thanks

Report Developer

117 byte By Marcus75a at 2007-9-28 6:45:51
Hi guys,does anybody know a opensource or freeware report developer that can be used with java + swing?

How to add rows to a JTable

207 byte By marcosraldesa at 2007-9-28 6:48:54
I'm making a program that shows information on a JTable, but the row count CHANGES during the execution. I've been looking arround and I couldn't find a way to do this. Can somebody help me please?

What is the Java equivalent of an executable?

127 byte By buywithcredita at 2007-9-28 7:00:22
Is there a way to make standalone Java Applications? Meaning making Java programs in such a way like C/C++ executables?

XPLookAndFeel (problems)

302 byte By veroslava at 2007-9-28 7:03:30
Hi all,I have downloaded XPLookAndFeel from the following site: http://www.stefan-krause.combut then I齰e stuck! I have no idea what to do to get it going, so I thought if there is somebody who have already tested this, to give me a helping ...

Testing of MMS and EMS

174 byte By desmondcostaa at 2007-9-28 7:07:48
I have been searching a product to test MMS & EMS. Is there any product available that can be used to test them. If yes, please mail me details. Thanks in advance.

Problems running Java Application. Prease Help Me!!

897 byte By marcosraldesa at 2007-9-28 7:11:14
I've just finished a java application to my University, I used Forte for Java and the Timer that comes with it, it works fine, but, when I try to run it from outside Forte, it's just impossible, I even create a .jar file(with Forte 4), but when I try to run it from Forte, it tells me ...

Problems using XMLEncoder and custom ClassLoade

1896 byte By nsklyara at 2007-9-28 7:20:17
I use third-party javabeans in my application. They areloaded with a custom URLClassLoader from jars thatare located in a certain directory, which is not inthe classpath. When I try to save these bean objectswith java.beans.XMLEncoder the below exceptions are thrown.Is there any possibility to ...

Writing to CD-RW

477 byte By gsacconea at 2007-9-28 7:21:05
Hi all-I googled around a bit and didn't see much...does anyone know how or can someone point me to some samples that write data to a CD-R/RW?My app needs to allow a user to select the target (floppy, hd, or CD-RW) to write a bunch of data. Ideally I don't want the user to have to manually ...

Desktop web application that can search a website

222 byte By adnancha at 2007-9-28 7:30:11
How I can make a desktop web application that can search the websites for .bmp, .jpeg .mpeg etc images. Same kind of application is available with the name Express WebPictures. Give me some idea and logic behind it.

Protecting the source code from copying for Desktop Application

319 byte By gujarata at 2007-9-28 7:30:33
I have developed a desktop application using pure java. My problem is how to distribute my developed code to the end users so that they cannnot access my source code. As you know there many decompilers available and also they can extract the Executable jar file...Please tell me if there is any ...

Use popup with javahelp ?

225 byte By Math_Francea at 2007-9-28 7:33:11
Hi, sorry for my English (I'm french).I create an Java program's for look my help in web with JSP's. And now, in my html pages, I want's to add popup, but I don't know do it. Can you help me please. Thanks.