File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Swing / AWT / SWT and the fly likes First attempt at writing a GUI Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "First attempt at writing a GUI" Watch "First attempt at writing a GUI" New topic
Author

First attempt at writing a GUI

Dianne Gerrelli
Ranch Hand

Joined: Dec 21, 2005
Posts: 45
I am attempting to write my first GUI. I have asked for help in the Beginners forum as I am just starting to learn Java but have not had any responses to my post on Friday. I was wondering if someone form this forum may be able to take a look at the thread of my messages.

I would be grateful for any help at the moment as I really do not understand why it is not working and I am runing out of ideas to test.

Best wishes
Dianne
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41525
    
  53
Dianne, I'll post a response to the other thread. Most likely responses have been scarce because the code you posted is huge. Trying to understand it will take a lot of time. If you cut it down to a more manageable size it would be easier to go over.


Ping & DNS - my free Android networking tools app
Michael Dunn
Ranch Hand

Joined: Jun 09, 2003
Posts: 4632
just using the first code you posted, and your problem of actionlisteners not firing,
the below code now works OK. I've stripped all the unrelated stuff:
quittableJFrame questionnaire, the look and feel, multiple constructors etc
basically down to the bare bones, but now they 'talk'.

Dianne Gerrelli
Ranch Hand

Joined: Dec 21, 2005
Posts: 45
Thanks very much. I will see if I can complete the task.

Best wishes
Dianne
 
 
subject: First attempt at writing a GUI