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 Best way of building a Swing GUI Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Best way of building a Swing GUI" Watch "Best way of building a Swing GUI" New topic
Author

Best way of building a Swing GUI

Angus Rose
Ranch Hand

Joined: Jun 21, 2002
Posts: 56
Hi All,
what is the best way of building a Swing GUI? Is it better to start off with a base panel and then add panels to that so as to break down the overall structure and thenadd individual components to these panels?

I've not yet come across a tutorial that explicitly shows how to do this and how to use the various Layout Managers that Swing provides - any pointers?

Thanks in advance

Angus
Michael Dunn
Ranch Hand

Joined: Jun 09, 2003
Posts: 4632
Here's a reasonable tutorial

http://java.sun.com/developer/onlineTraining/GUI/AWTLayoutMgr/shortcourse.html
Pat Hays
Ranch Hand

Joined: Aug 20, 2004
Posts: 138
Hi Angus,

Here is a esay to use GUI builder to show u how to use Swing.

Try JFrameBuilder.
http://www.mars3000.com/download_files/JFB_300.zip

Cheers

Pat


Download Java GUI Builder, <a href="http://www.mars3000.com" target="_blank" rel="nofollow">http://www.mars3000.com</a>
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Best way of building a Swing GUI