Results 1 to 4 of 4
- 06-24-2008, 12:01 PM #1
Member
- Join Date
- Jun 2008
- Posts
- 20
- Rep Power
- 0
[SOLVED] Internal frames inside a MDI form
Hi all,
While minimizing the internal frames inside an MDI form(which is in not fully maximised to fit the screen). The internal frame is Iconified in the bottom line of the MDI. But When I maximize(fully maximised and fitted to the screen) the MDI form, the internal frames which are already iconified still stays in its ex position. I want it to be moved along to the bottom line of the Maximized MDI. The attached pictures could give you the clear picture. Can any one help me in this issue.
Thank you.
- 06-26-2008, 03:41 AM #2
Senior Member
- Join Date
- May 2008
- Location
- Makati, Philippines
- Posts
- 234
- Rep Power
- 6
can you post your code for your Gui
Mind only knows what lies near the heart, it alone sees the depth of the soul.
- 06-26-2008, 06:18 AM #3
Member
- Join Date
- Jun 2008
- Posts
- 20
- Rep Power
- 0
Hi Eku,
Here is the code.
Thank you.Java Code:public class IFrame extends JFrame { private JDesktopPane desk; public IFrame(String title) { super(title); setDefaultCloseOperation(EXIT_ON_CLOSE); desk = new JDesktopPane(); setContentPane(desk); } private void addFrame(int number) { JInternalFrame f = new JInternalFrame("Frame " + number, true, true,true, true); f.setBounds(number * 10 - 5, number * 10 - 5, 250, 150); desk.add(f, 1); f.setVisible(true); } public static void main(String[] args) { Figure3 td = new Figure3(""); td.setSize(300, 220); td.setVisible(true); for (int i = 1; i <= 4; i++) { td.addFrame(i); } } }
- 07-01-2008, 06:55 AM #4
Member
- Join Date
- Jun 2008
- Posts
- 20
- Rep Power
- 0
Similar Threads
-
javac not recognized as an internal or external command
By kotoko in forum New To JavaReplies: 28Last Post: 10-26-2010, 04:39 AM -
Editing video frames in JMF
By russ2620 in forum NetworkingReplies: 0Last Post: 05-30-2008, 11:26 PM -
Eclipse's internal Tomcat
By vadimf in forum EclipseReplies: 0Last Post: 02-14-2008, 09:37 AM -
an internal error occurred during refresh
By christina in forum EclipseReplies: 1Last Post: 08-06-2007, 09:37 PM -
will java webBrowser work with frames
By elipford in forum New To JavaReplies: 2Last Post: 06-04-2007, 03:26 PM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks