• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

how to Deiconified the JFrame????

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ranch Hand
Posts: 88
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
call frame1.setState(Frame.NORMAL) or frame1.setState(Frame.ICONIFIED) for restore or Minimizing....
reply
    Bookmark Topic Watch Topic
  • New Topic