Quote (nizarithe @ May 8 2014 02:50am)
how to set my window with
JLabel JTextField
JLabel JTextField
JLabel JTextField
JLabel JTextField
JLabel JTextField
Jbutton_1 JButton_2
OR
JLabel
JTextField
JLabel
JTextField
JLabel
JTextField
button_1 button_2
I figured how to have my menu , how to set the JButton but I have trouble to fix my JLabels/Jtextfield
I want if , it is possible to set a size for the jtextfield so it looks better
I have tried borderlayout , it's fine for a single "JLabel JTextField "
else it sucks
then the gridlayout , but if i have only 1 or 2 "JLabel JTextField " it sucks and only works "well" if i have many jlabel/jtextfield
help please
I'd recommend MigLayout
If you are using Eclipse then Use WindowBuilder, it's built-in anyway:
http://www.eclipse.org/windowbuilder/