Im trying to create a layout which
- has two panels one on top of the other
-in the first panel a label on the top line at the left hand side
-then a list of buttons on the second lines
-the second panel the same but different buttons and label
so far a have created a frame and a main panel (because i keep getting errors when adding a layout to a frame), the main panel has box layout.
then i had two panels which has the label and buttons on using flowlayout. but i cant get flow layout to force onto the next line. i also tried this with GridLayout.
so i created another panel for the labels and even if i set the size of the labelPanel to small, it takes up 50% of the frame.
the panels with the buttons are fine using flowlayout.
im getting confused with the layouts of the labels and im wondering if anybody can help me sort this.