Frank Frank - 1 year ago 124
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)

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download