[gui][patch] fix for bug 16576

graydon hoare graydon@redhat.com
Wed Aug 4 19:58:00 GMT 2004


hi,

this patch fixes some bugs in the layered pane, and also throws in
a minor improvement to Box.java, which was used by one of the
layered pane demos in the swing tutorial. this is in response to
PR SWING/16576.

committed to java-gui-branch.

-graydon

2004-08-03  Graydon Hoare  <graydon@redhat.com>

         PR SWING/16576
         * javax/swing/JLayeredPane.java
         (setLayer): Permit changing layer after addition.
         (setPosition): Permit over-length positions.
         (layerToRange): Compare intValue()s.
         * javax/swing/Box.java (createHorizontalBox): Implement.
         (createRigidArea): Likewise.
         (createVerticalBox): Likewise.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: java-gui-bug-16576.patch
Type: text/x-patch
Size: 1531 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/java-patches/attachments/20040804/568c58dc/attachment.bin>


More information about the Java-patches mailing list