JDK-4491785 : ModalityListener for solaris
  • Type: Enhancement
  • Component: client-libs
  • Sub-Component: java.awt
  • Affected Version: 1.3.1_04,1.4.0
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • OS: solaris_8
  • CPU: sparc
  • Submitted: 2001-08-14
  • Updated: 2005-05-21
  • Resolved: 2005-05-21
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.
JDK 6
6 b38Fixed
Related Reports
Duplicate :  
Relates :  
Relates :  
Description
Behavior of Modal dialog on windows and solaris/linux differ.  On windows modal dialog poped up by an applet running in the browser blocks applet AND browser (user can not push "Back", "Forward", etc buttons in the browser).  While on solaris/linux, modal dialog poped up by an applet is modal to java process only, not to Netscape process.
There is a ModalityListener.java implemented for windows.  Files that were modified/added in awt to solve this problem on windows:
src/win32/classes/sun/awt/windows/ModalityListener.java
src/win32/classes/sun/awt/windows/ModalityEvent.java
src/win32/classes/sun/awt/windows/WToolkit.java
These are the fixes needed for plug-in to block the browser window when applet pops up a modal dialog.
Same type of functionality is needed for Solaris/linux, so that plug-in could implement a fix to block Netscape browser as well as java.  See bug 4414115

Comments
EVALUATION This bug is actually an RFE, not a defect. Will be implemented for all platforms (MToolkit, XToolkit, WToolkit) together with other modality features in Mustang. ###@###.### 2005-05-03 10:36:59 GMT Fixed as a part of 4080029 for all platforms. ###@###.### 2005-05-04 11:52:39 GMT
03-05-2005

SUGGESTED FIX Move ModalityEvent and ModalityListener classes from sun.awt.windows into sun.awt, move the corresponding methods from WToolkit into SunToolkit. ###@###.### 2005-05-03 10:36:59 GMT
03-05-2005