[Bug SWING/16576] New: JLayeredPane's setLayer methods not working
kho at redhat dot com
gcc-bugzilla@gcc.gnu.org
Thu Jul 15 20:27:00 GMT 2004
Running the attached test case gives:
Exception in thread "main" java.lang.IllegalArgumentException
at javax.swing.JLayeredPane.layerToRange(java.lang.Integer)
(/home/kho/gcj-inst/i686-pc-linux-gnu/libjava/.libs/lib-javax-swing.so.0.0.0)
at javax.swing.JLayeredPane.setPosition(java.awt.Component, int)
(/home/kho/gcj-inst/i686-pc-linux-gnu/libjava/.libs/lib-javax-swing.so.0.0.0)
at javax.swing.JLayeredPane.setLayer(java.awt.Component, int, int)
(/home/kho/gcj-inst/i686-pc-linux-gnu/libjava/.libs/lib-javax-swing.so.0.0.0)
at layer.main(java.lang.String[]) (Unknown Source)
What is should do is show the larger button behind the smaller button.
This is caused by the setLayer call when using the position parameter.
--
Summary: JLayeredPane's setLayer methods not working
Product: gcc
Version: 3.5.0
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: SWING
AssignedTo: graydon at redhat dot com
ReportedBy: kho at redhat dot com
CC: gcc-bugs at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16576
More information about the Gcc-bugs
mailing list