The layout of my GUI contains
- a JFrame with GridBagLayout
- this JFrame contains a JInternalFrame and a JTabbedPane
(JInternalFrame has gridwidth 2 and JTabbedPane gridwidth 1)
- The JTabbedPane contains a JPanel for each tab and these JPanels have GridBagLayouts and contain various components.
The problem is that the JPanel doesn't occupy the entire possible space of the JTabbedPane and thus the JPanel components are clutched together in the center of the JTabbedPane.
I've tried to use a BorderLayout and a GridBagLayout for the JTabbedPane, but to no avail.
What to do next?
Swamphen
- a JFrame with GridBagLayout
- this JFrame contains a JInternalFrame and a JTabbedPane
(JInternalFrame has gridwidth 2 and JTabbedPane gridwidth 1)
- The JTabbedPane contains a JPanel for each tab and these JPanels have GridBagLayouts and contain various components.
The problem is that the JPanel doesn't occupy the entire possible space of the JTabbedPane and thus the JPanel components are clutched together in the center of the JTabbedPane.
I've tried to use a BorderLayout and a GridBagLayout for the JTabbedPane, but to no avail.
What to do next?
Swamphen