In the Java Swing tutorials, in the How to Write an Internal Frame Listener section it provides demo code to capture the events of closing or minimising (iconifying) a JInternalFrame
window.
The event of maximise and restore however are not captured in the demo and there seems to be no method to capture these events in the InternalFrameAdapter
class or an a relative field in the InternalFrameEvent
.
How can I capture the event that the user clicked on the maximise/restore button?