GeeCON Prague 2014*
The moose likes Swing / AWT / SWT and the fly likes frame minimization Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "frame minimization " Watch "frame minimization " New topic
Author

frame minimization

sa sam
Ranch Hand

Joined: Mar 01, 2009
Posts: 46
i have menubar in jframe1. when i click on the menu i get new jframe (jframe2) inside jframe1. jframe1 is parent frame.

now my requirenment is , when i minimize my parent frame, child frame also get minimize automatically & when maximize then same event.

replay me fast.

Rob Spoor
Sheriff

Joined: Oct 27, 2005
Posts: 19697
    
  20

ajay chavan wrote:replay me fast.

Ease Up.

You could try a non-modal JDialog as the second frame.


SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6
How To Ask Questions How To Answer Questions
sa sam
Ranch Hand

Joined: Mar 01, 2009
Posts: 46
Rob Prime wrote:
ajay chavan wrote:replay me fast.

Ease Up.

You could try a non-modal JDialog as the second frame.



i have 8 text fiels and 2 buttons in jframe2.

so how can i convert jframe to jDialog.
please give me a example.
Michael Dunn
Ranch Hand

Joined: Jun 09, 2003
Posts: 4632
> so how can i convert jframe to jDialog.
> please give me a example.

in frame1, you might have something like this (relevant code bits only)

sa sam
Ranch Hand

Joined: Mar 01, 2009
Posts: 46
thanks
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: frame minimization