posted 21 years ago
hi guys,
I have completed my GUI design but there are still sth confused about layout management. In the main jframe, I use a jpanel to include all the components (JButton, JLabel, JCombox) except the JTable, and add this jpanel to the jframe's
BorderLayout.NORTH, and add the jtable to the
BorderLayout.CENTRE. since the jpanel use the FlowLayout, when i mininize the JFrame, the representation of the JPanel will get mess up(some component just disappear since the jpanel don't resize itself in the v way). I want to use
the GridBagLayout for that but it is a little complex and not easy to extend (imagine i have to add new components to the jpanel in furture, i have to modifiy a lot).
any suggestion about the layout design?
thanks