views:

29

answers:

1

In my Java app, I have a JFrame window, how can I minimize it from my Java program ?

+2  A: 

minimize with frame.setState(Frame.ICONIFIED)

restore with frame.setState(Frame.NORMAL)

bemace