A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Swing / AWT / SWT
Not able to minimize JInternalFrame
Joined: Apr 06, 2010
Apr 12, 2010 08:25:10
I have JDesktopPane and in which I add few JInternalFrame(s). I have initialized all these internal frames using following:
JInternalFrame f = new JInternalFrame("Frame", true, true, true, true); f.setBounds(0, 0, 300,360); myFrame.add(f); f.setVisible(true); f.setMaximizable(true); f.setIconifiable(true);
My problem is the minimize button in right hand side of JInternalFrame, doesnot do anything. Although I am able to close and maxamize the internal frame.
Please help why I am not able to minimize JInternalFrame.
Joined: Jun 13, 2009
Apr 12, 2010 09:07:34
Read the JIternalFrame API and follow the link to the Swing tutorial on "How to Use Internal Frames". The example there works fine, so compare your code to see what you are doing different.
I agree. Here's the link:
subject: Not able to minimize JInternalFrame
SwingSet2 popup menu items are wrong when Look & Feel is changed
Internal Frames Problems...need help
making things not dragable
jInternalFrame does not close
JInternalFrame doesn't show anymore after closing
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014