Download - Java swing tips
Transcript
Java Swing tips
Don't use Flow Layout for complex GUI
Use Border Layout, Grid Bag Layout for complex GUI.
Need to align center, use Flow Layout.
Don't calculate and set preferredSize property by hand.
Don't mix business logic with presentation Don’t Do this, instead:
MVC is your friend.