bug-classpath
[Top][All Lists]
Advanced

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

[Bug classpath/22819] JInternalFrame.setDefaultCloseOperation broken


From: gcc-bugzilla at gcc dot gnu dot org
Subject: [Bug classpath/22819] JInternalFrame.setDefaultCloseOperation broken
Date: 16 Oct 2005 01:27:20 -0000

setDefaultCloseOperation(HIDE_ON_CLOSE) gives:

java.lang.Error: Close operation must be one of DO_NOTHING_ON_CLOSE,
HIDE_ON_CLOSE, or DISPOSE_ON_CLOSE
   at javax.swing.JInternalFrame.setDefaultCloseOperation
(JInternalFrame.java:1277)

The check inside is broken: || should be &&


------- Comment #1 from from-classpath at savannah dot gnu dot org  2004-12-21 
19:55 -------
Fixed in CVS. This fix will be in GNU classpath 0.13.


-- 


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





reply via email to

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