United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-5109681 JDialog.setDefaultCloseOperation() needs to better document its arguments
JDK-5109681 : JDialog.setDefaultCloseOperation() needs to better document its arguments

Details
Type:
Bug
Submit Date:
2004-09-30
Status:
Resolved
Updated Date:
2005-08-17
Project Name:
JDK
Resolved Date:
2005-08-17
Component:
client-libs
OS:
generic
Sub-Component:
javax.swing
CPU:
generic
Priority:
P4
Resolution:
Fixed
Affected Versions:
6
Fixed Versions:

Related Reports

Sub Tasks

Description
The JavaDoc for JFrame.setDefaultCloseOperation() mentions where its arguments are defined (WindowConstants & JFrame).  The same is not true for JDialog, but should be, otherwise developers must go hunting around for it.

                                    

Comments
EVALUATION

javax.swing.JDialog api needs clarification.
###@###.### 10/22/04 19:03 GMT
###@###.### 10/22/04 19:11 GMT

Agreed. I'll clarify the documentation. Additionally, I'm making a change such that the property is now bound (firing a property change) and the value is checked for validity - if not it will throw an IllegalArgumentException.
###@###.### 2005-07-21 21:51:02 GMT
                                     
2004-10-22



Hardware and Software, Engineered to Work Together