-
Bug
-
Resolution: Duplicate
-
P4
-
None
-
1.2.2
-
generic
-
generic
Name: krT82822 Date: 07/10/99
I just downloaded 1.2.2 with the API documentation. The documentation says EXIT_ON_CLOSE is a possible default close operation that can be specified with setDefaultCloseOperation(),
but the WindowConstants interface doesn't define such a value.
I'm not sure if it was accidentally left out of the interface or if it's no longer available and the documentation is out of sync.
-------------------
7/10/99 kevin.ryan@eng -- Docs say EXIT_ON_CLOSE exists, but javap says otherwise. I thought EXIT_ON_CLOSE might be defined
elsewhere, but couldn't find it. Looks as though we need to update the docs.
( 354 )% javap javax.swing.WindowConstants
Compiled from WindowConstants.java
public interface javax.swing.WindowConstants
/* ACC_SUPER bit NOT set */
{
public static final int DO_NOTHING_ON_CLOSE;
public static final int HIDE_ON_CLOSE;
public static final int DISPOSE_ON_CLOSE;
}
(Review ID: 85445)
======================================================================
- duplicates
-
JDK-4253520 WindowConstants.EXIT_ON_CLOSE is missing!
-
- Closed
-