Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how to Deiconified the JFrame????

 
Genjuro Kibagami
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I have 2 JFrames, let's say frame1, frame2
in frame1, i have deiconifiedButton("Deiconified frame2"), so in actionPerformed of deiconifiedButton, how do i deiconified the frame2 when frame2 is in iconify state?
I call frame2.show(); but it doesn't work. I wonder is it because of the platform or something?
i try the frame2.requestFocus(); doesn't work either!
Plz help me out!
Thanks
 
Bhagya Tangutur
Ranch Hand
Posts: 88
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
call frame1.setState(Frame.NORMAL) or frame1.setState(Frame.ICONIFIED) for restore or Minimizing....
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic