JDK-4173094 : Window maximize/de-maximize events should be posted to the EventQueue
  • Type: Enhancement
  • Component: client-libs
  • Sub-Component: java.awt
  • Affected Version: 1.1.2,1.2.0,1.3.0
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • OS: generic,windows_95,windows_nt
  • CPU: generic,x86
  • Submitted: 1998-09-11
  • Updated: 2000-09-06
  • Resolved: 2000-09-06
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
Other
1.4.0 betaFixed
Related Reports
Duplicate :  
Duplicate :  
Relates :  
Relates :  
Description
There are WINDOW_ICONIFIED / WINDOW_DEICONIFIED events, but no events for
a window being maximized/restored.  These events should exist, and be posted
to the Java EventQueue in a similar fashion to WINDOW_ICONIFIED.

Comments
CONVERTED DATA BugTraq+ Release Management Values COMMIT TO FIX: merlin FIXED IN: merlin-beta INTEGRATED IN: merlin-beta
14-06-2004

WORK AROUND addComponentListener( new ComponentAdapter() { public void componentResized(ComponentEvent e) { if (getState() == Frame.ZOOMED) { System.out.println("Frame Zoomed"); } if (getState() == Frame.NORMAL) { System.out.println("Frame Normal"); } } } );
11-06-2004

EVALUATION See description in duplicate 4151234, which has these additional requests: b) ability to check state of window (normal/maximized/minimized) (getState()) c) programitical maximizing of the window (setState()?) Valid work-around provided. Adding new events would required a new WindowListerner interface. richard.ray@eng 2000-09-06
06-09-2000