| | |
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).
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).
As people are clearly allowed to attack me but I'm not allowed to defend myself, I no longer post to this site.
•
•
Join Date: Jun 2004
Posts: 2,108
Reputation:
Solved Threads: 18
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.
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.
•
•
Join Date: Aug 2005
Posts: 216
Reputation:
Solved Threads: 8
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.
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.
![]() |
Similar Threads
- suggestions for a mini project ?? (Visual Basic 4 / 5 / 6)
- chat server gui (Java)
- PyAUI-in wxPython (Python)
- Five Digit Primes in a 5x5 Grid (Java)
- Help in VB.net (VB.NET)
- i NEED java help!!!!! (Java)
Other Threads in the Java Forum
- Previous Thread: How can I update a files extension?
- Next Thread: problem with java.util.Collections
| Thread Tools | Search this Thread |
android api applet application apps array arrays automation awt bidirectional binary birt bluetooth businessintelligence busy_handler(null) card chat class classes client code collision columns component constructor crashcourse database designadrawingapplicationusingjavajslider draw eclipse error errors eventlistener exception expand fractal game givemetehcodez graphics gui guidancer html ide image inetaddress integer intellij j2me java javafx javamicroeditionuseofmotionsensor javaprojects jme jni jpanel jtree julia linux list loop machine map method methods mobile mobiledevelopmentcreatejar myaggfun netbeans newbie oracle physics plazmic print problem program programming project recursion scanner server set sharepoint smart sms smsspam sort sortedmaps sql string subclass support swing textfield threads tree trolltech unlimited utility webservices windows






