[SOLVED] Possible to have two BoxLayout in same area of BorderLayout?
This is another problem I am having with the GUI of my program. Basically, I have a class called MainInterface, it is a JFrame built from BoxLayout components inside a BorderLayout.
As you can see, the buttons ect inside Jpanel top are laid out along a Y_AXIS. Is it possible to have two BoxLayouts, one Y_AXIS the other X_AXIS both within the PAGE_START of the BorderLayout?
JPanel top = new JPanel();
top.setLayout(new BoxLayout(top, BoxLayout.Y_AXIS));
Container contentPane = getContentPane();