I'm working with JInternalFrame's under Mac OS X Java 5 and when maximizing a JInternalFrame within a JDesktopPane the window doesn't fully maximize, but the property to allow maximizing is definitely set to true. This is the result I'm getting when maximized:
Seeing as though the image previews didn't work.
I've got no idea why it's happening. Here's my code.
JInternalFrame f = new JInternalFrame("irc.quakenet.org - #overclockers", true, true, true, true);
f.setVisible(true);
f.setSize(300,300);
f.setEnabled(true);
f.setMaximizable(true);
try {
f.setSelected(true);
} catch (PropertyVetoException e) {
e.printStackTrace();
}
Any ideas?