Frank Frank - 11 months ago 80
Java Question

How to minimize a JFrame window from Java?

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

Answer Source

minimize with frame.setState(Frame.ICONIFIED)

restore with frame.setState(Frame.NORMAL)