Design « Layout « Java Swing Q&A





1. Java gui- how to design    stackoverflow.com

How to code this simple java GUI?
imageshack

2. Layout design problem    coderanch.com

Hi, I want to create a window like the attached image. I am thinking to do it this way, but I do not know if it is a good way? JPanel pane1 = new JPanel(new BorderLayout()); JLabel selectLabel = new JLabel("select item"); JButton submitButton = new JButton("submit"); //pane2 needs to be scrollPane which include multiple pane3 JPanel pane2 = new JPanel(); ...

3. Which layout to use for this design?    java-forums.org

hi everyone, this is my desired design JLabel1 //no JTextField here, textfield start on row 2 JLabel2 JTextField1 JLabel3 JTextField2 ... //all are the same after JLabel3 this can be expand until JLabel 100.. first row must start at top left corner.. no vertical empty space between JLabel even the panel is resized... i've tried to put all these components into ...