Thread View: borland.public.jbuilder.java.swing
2 messages
2 total messages
Started by matt Bolan
Tue, 23 Mar 2004 16:54
multiple Frames
Author: matt Bolan
Date: Tue, 23 Mar 2004 16:54
Date: Tue, 23 Mar 2004 16:54
15 lines
1397 bytes
1397 bytes
Good Morning. I have multiple frames that operate independent of each other. I would like to make any frame that is triggered to be viewable in the master frame and I also would like to make the new frame the active one without giving the user the ability to go back to the parent frame (model). I also would like to ask which one would be better to do. To have multiple frames for multiple tasks or 1 frame and multiple JPANEL for each task. What would be the advantage of each? thank you
Re: multiple Frames
Author: pnichols
Date: Tue, 23 Mar 2004 22:46
Date: Tue, 23 Mar 2004 22:46
25 lines
1704 bytes
1704 bytes
matt Bolan wrote: > Good Morning. I have multiple frames that operate independent of each > other. I would like to make any frame that is triggered to be viewable in > the master frame and I also would like to make the new frame the active > one without giving the user the ability to go back to the parent frame > (model). > > > > I also would like to ask which one would be better to do. To have > multiple frames for multiple tasks or 1 frame and multiple JPANEL for each > task. > > What would be the advantage of each? > > > > thank you Sounds like you would be better off using JDesktopPane and JInternalFrames (aka MDI), rather than independent JFrames. You could certainly create the Panels individually, and use one JFrame to load them as needed.
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads