bug-classpath
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug classpath/22885] JDialog.setDefaultCloseOperation() does not proper


From: gcc-bugzilla at gcc dot gnu dot org
Subject: [Bug classpath/22885] JDialog.setDefaultCloseOperation() does not properly ignore illegal values
Date: 16 Oct 2005 01:27:34 -0000

JDialog currently throws an IllegalArgumentException when the method
setDefaultCloseOperation() is called with something other than HIDE_ON_CLOSE,
DO_NOTHING_CLOSE and DISPOSE_ON_CLOSE (eg EXIT_ON_CLOSE which is part of
JDialogs API but cannot be used).

Although the argument validity check is useful it is not compatible with
official API.


------- Comment #1 from from-classpath at savannah dot gnu dot org  2005-05-13 
14:09 -------
I have fixed this in Classpaths's current CVS. Therefore I close this bug.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22885





reply via email to

[Prev in Thread] Current Thread [Next in Thread]