f***@hotmail.com
19 years ago
Hi all,
The problem with my Java components is that they stretch along when I
resize the window. They become way too big.
I've been able to prevent this using:
thePanel.setMinimumSize( thePanel.getPreferredSize() );
thePanel.setMaximumSize( thePanel.getPreferredSize() );
But once I started using JTabbedPane inside another JTabbedPane this
method does not seem to work anymore.
Can anyone help?
Any help or hint will be greatly appreciated!
Best regards,
Francis
The problem with my Java components is that they stretch along when I
resize the window. They become way too big.
I've been able to prevent this using:
thePanel.setMinimumSize( thePanel.getPreferredSize() );
thePanel.setMaximumSize( thePanel.getPreferredSize() );
But once I started using JTabbedPane inside another JTabbedPane this
method does not seem to work anymore.
Can anyone help?
Any help or hint will be greatly appreciated!
Best regards,
Francis