aspose file tools*
The moose likes Swing / AWT / SWT and the fly likes Swing GUI tool generated code, newbie stuck :( Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Swing GUI tool generated code, newbie stuck :(" Watch "Swing GUI tool generated code, newbie stuck :(" New topic
Author

Swing GUI tool generated code, newbie stuck :(

Tirthankar Mukherjee
Ranch Hand

Joined: Apr 08, 2006
Posts: 51

Hi,

I got this code generated using a GUI tool, but I am not able to run it properly. I am very new to swing, tried whatever seems logical. Can any one take the pain of pointing out my problem. Thanks in advance.

Note : External jar has been added, and its compiles fine.


Christophe Verré
Sheriff

Joined: Nov 24, 2005
Posts: 14688
    
  16

Your class doesn't need to extends JFrame. BauFrame is the main frame. All you need is to show it :


(give better names to your classes !)


[My Blog]
All roads lead to JavaRanch
Tirthankar Mukherjee
Ranch Hand

Joined: Apr 08, 2006
Posts: 51
Thanks for your time, I got it.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Swing GUI tool generated code, newbie stuck :(