posted 16 years ago
Add a WindowStateListener to your frame so that you are notified when the frame has been minimised. Then start a javax.swing.Timer to resize the window after 'n' seconds (from memory this can be done by calling the frame's setExtendedState(..) method(), but check out the API docs for more info).