File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Swing GUI tool generated code, newbie stuck :(

 
Tirthankar Mukherjee
Ranch Hand
Posts: 51
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

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
Pie
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 !)
 
Tirthankar Mukherjee
Ranch Hand
Posts: 51
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for your time, I got it.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic