Win a copy of Learn Spring Security (video course) this week in the Spring forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

frame minimization

 
sa sam
Ranch Hand
Posts: 46
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 20492
54
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
ajay chavan wrote:replay me fast.

Ease Up.

You could try a non-modal JDialog as the second frame.
 
sa sam
Ranch Hand
Posts: 46
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 4632
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
> 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
Posts: 46
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thanks
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic