944,070 Members | Top Members by Rank

Ad:
  • Java Discussion Thread
  • Unsolved
  • Views: 6816
  • Java RSS
Aug 11th, 2006
0

Best way to Design GUI

Expand Post »
What is the best way to design gui? Is java's swing strong enough? Or should learn something like jaxx or JFace? What do you guys use?
Similar Threads
Reputation Points: 10
Solved Threads: 0
Junior Poster
ryy705 is offline Offline
171 posts
since Jul 2006
Aug 12th, 2006
0

Re: Best way to Design GUI

I use a piece of paper.
What I draw on there is then transferred to whatever user interface library is needed.

And yes, Swing is plenty good enough if you take the time to learn to use it (most complaints about it are from people who don't bother to try and understand it).
Team Colleague
Reputation Points: 1658
Solved Threads: 331
duckman
jwenting is offline Offline
7,719 posts
since Nov 2004
Aug 12th, 2006
0

Re: Best way to Design GUI

Thank you very much. I guess I will stop wasting my time with different IDEs. And invest more time learning the GridBagLayout class. Is there any book you recommend for java gui design?
Reputation Points: 10
Solved Threads: 0
Junior Poster
ryy705 is offline Offline
171 posts
since Jul 2006
Aug 12th, 2006
0

Re: Best way to Design GUI

I wouldn't start with GridBag right away. It's 'slightly' more complicated than the others and almost everytime you'll end up using several different layout managers together... Not just one. Personally, I like nesting JPanels.

There's no single book. If you want to learn just GUI then go with Sun's swing layout tutorials. The tutorials should be short, sweet and to the point. Most of what you do depends on experience. Don't expect to be an expert after reading a tutorial or book. Experience will give you good judgement that a tutorial or book can't give you.
Reputation Points: 113
Solved Threads: 19
Postaholic
server_crash is offline Offline
2,108 posts
since Jun 2004
Aug 13th, 2006
0

Re: Best way to Design GUI

I agree with server_crash on the jpanels inside of other jpanels. Excellent strategy for building a GUI.

However, I do recommend jumping right into GridBagLayout. Even when there are jpanels in the application that would work with a FlowLayout or BorderLayout we always ended up using GridBagLayout. Its just so much more powerful then the other layouts.
Reputation Points: 11
Solved Threads: 8
Posting Whiz in Training
hooknc is offline Offline
216 posts
since Aug 2005

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in Java Forum Timeline: How can I update a files extension?
Next Thread in Java Forum Timeline: problem with java.util.Collections





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC