Reputation: 915
In my application I am using one JFrame and multiple jpanels.
I make the JFrame fullScreen with setExtendedState()
method. In the main jFrame I load jpanels during runtime. When I load jPanel I use jPanel.setBound(0, 0, 1000, 500).
This looks fine in 1024 x 756
size screens. But when screen size changes The jPanels look very small.
Is it possible to maintain the ratio of the jPanels including the other components.
I do not like to use JInternalFrame to handle MDI. Because this looks very ugly when the JInternalFrame is maximized.
I am using null layout in the panels.
Upvotes: 0
Views: 318