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
posted 14 years ago
call frame1.setState(Frame.NORMAL) or frame1.setState(Frame.ICONIFIED) for restore or Minimizing....