align JLabels and JTextFields vertically in different areas
Joined: Feb 04, 2010
I like to have 3 TitledBorders for 3 different areas of my frame.
Each area has its own components - JLabels, JTextField, etc.
How to align JLabels and JTextFields vertically in different areas?
e.g. for the following test program, how to configure label1, label2, label3 so that their right sides all align vertically and
tf1, tf2, tf3 so that their left sides all align vertically?
Joined: Mar 12, 2010
I only could think of using null layout managers and aligning your components manually.