| | |
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 |
account android api applet application array arrays automation awt bidirectional binary birt bluetooth busy_handler(null) chat class classes client code columns component database designadrawingapplicationusingjavajslider draw eclipse error errors eventlistener exception expand fractal game givemetehcodez graphics gui guidancer homework html ide image inetaddress inheritance integer intellij j2me java javamicroeditionuseofmotionsensor javaprojects jlabel jme jni jpanel jtextfield julia linux list loop map method methods midlethttpconnection mobile mobiledevelopmentcreatejar monitoring myaggfun netbeans newbie nullpointerexception open-source plazmic print problem program programming project property recursion ria scanner search server set smart sms smsspam sort sourcelabs splash sql sqlite static string subclass support swing testautomation threads tree webservices windows






