JDK-6206437 : Typo in JInternalFrame setDefaultCloseOperation() doc (WindowClosing --> internalFrameClosing)
  • Type: Bug
  • Component: client-libs
  • Sub-Component: javax.swing
  • Affected Version: 6
  • Priority: P5
  • Status: Resolved
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2004-12-09
  • Updated: 2015-09-29
  • Resolved: 2015-05-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.
JDK 8 JDK 9
8u60Fixed 9 b65Fixed
Description
The description of JInternalFrame setDefaultCloseOperation() contains the following:
.....
DO_NOTHING_ON_CLOSE
    Do nothing. This requires the program to handle the operation in the windowClosing method of a registered InternalFrameListener object.

But InternalFrameListener interface doesn't have windowClosing method. It should be changed to internalFrameClosing method.
###@###.### 2004-12-09 15:13:19 GMT

Comments
EVALUATION Agreed. ###@###.### 2004-12-09 17:14:13 GMT
09-12-2004