2008-06-04

How to minimize and restore Java Swing JFrame

1. Minimize -> use this method frame.setState ( Frame.ICONIFIED );
2. Restore -> use this method frame.setState ( Frame.NORMAL );

frame is instance of JFrame

1 comment:

Roger Pack said...

frame (of frame.ICONIFIED) is java.awt.frame