Hai..
I created a program using frames. First I created text fields and labels to enter the name
and number of actors,also a button is created.By clicking on the button a new window appears
and i entered name and number of actions of first actor.What i want to display is,based on the number of
actions a window must appear for entering the actions.But in my program, first displayed all the name and
number of actions of actors,after that a window to enter their actions.i,e i want to enter name and number
of actions of first actor then his actions, after that second actors name and number of actions and so on...
Waiting for a reply
thanks..
WANT TO DISPLAY ONE FRAME INSIDE ANOTHER
Page 1 of 15 Replies - 1781 Views - Last Post: 15 April 2011 - 09:05 PM
Replies To: WANT TO DISPLAY ONE FRAME INSIDE ANOTHER
#2
Re: WANT TO DISPLAY ONE FRAME INSIDE ANOTHER
Posted 15 April 2011 - 08:17 PM
You just can't
By definition a JFrame is a Window that you can drag over other Windows
unless you want a JDesktopPane with JInternal frames in it like when you open Excel/Word and have an external frame with a different frame for all your different spreadsheet/document into it
By definition a JFrame is a Window that you can drag over other Windows
unless you want a JDesktopPane with JInternal frames in it like when you open Excel/Word and have an external frame with a different frame for all your different spreadsheet/document into it
#3
Re: WANT TO DISPLAY ONE FRAME INSIDE ANOTHER
Posted 15 April 2011 - 08:19 PM
Like pbl said, you really can't. It's a top-level component for a reason. Read my tutorial on high-level components:
http://www.dreaminco...vel-components/
You need to use a JDesktopPane and JInternalFrame.
http://www.dreaminco...vel-components/
You need to use a JDesktopPane and JInternalFrame.
#4
Re: WANT TO DISPLAY ONE FRAME INSIDE ANOTHER
Posted 15 April 2011 - 08:58 PM
And what about using JInternalFrame ? This could make that, what he needs..
#5
Re: WANT TO DISPLAY ONE FRAME INSIDE ANOTHER
Posted 15 April 2011 - 09:01 PM
#6
Re: WANT TO DISPLAY ONE FRAME INSIDE ANOTHER
Posted 15 April 2011 - 09:05 PM
Page 1 of 1
|
|

New Topic/Question
Reply



MultiQuote








|