Killing a Parent Frame with out killing its child Frame  
Author Message
harispra





PostPosted: 2004-6-7 21:13:00 Top

java-programmer, Killing a Parent Frame with out killing its child Frame I wrote an application where I am trying to kill a parent frame with
out killing the child one.

I have created a frame (F1) and if I click a button on F1 I am
getting a new frame (F2). Now, if I click a button on F2, I am getting
updated F1. Its fine. But if I close F2, both F2 and F1 are closing. I
am trying to close F2 with out closing F1, but getting mistake.

Pls suggest me how I can do this.
 
Andrew Thompson





PostPosted: 2004-6-7 21:33:00 Top

java-programmer >> Killing a Parent Frame with out killing its child Frame On 7 Jun 2004 06:12:59 -0700, Hari Prasad wrote:

> I wrote an application where..

..where?
<http://www.physci.org/codes/sscce.jsp>
(should take you less than 50 lines)

--
Andrew Thompson
http://www.PhySci.org/ Open-source software suite
http://www.PhySci.org/codes/ Web & IT Help
http://www.1point1C.org/ Science & Technology
 
ak





PostPosted: 2004-6-8 2:00:00 Top

java-programmer >> Killing a Parent Frame with out killing its child Frame > I wrote an application where I am trying to kill a parent frame with
> out killing the child one.
>
> I have created a frame (F1) and if I click a button on F1 I am
> getting a new frame (F2). Now, if I click a button on F2, I am getting
> updated F1. Its fine. But if I close F2, both F2 and F1 are closing. I
> am trying to close F2 with out closing F1, but getting mistake.
>
> Pls suggest me how I can do this.

just create new Frame and put the content of old Frame into new one.
--
http://uio.dev.java.net
http://reader.imagero.com