[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cp-patches] Please Review: Patch for JPopupMenu
From: |
Anthony Balkissoon |
Subject: |
Re: [cp-patches] Please Review: Patch for JPopupMenu |
Date: |
Mon, 18 Jul 2005 15:05:20 -0400 |
This patch has been committed.
On Fri, 2005-07-15 at 15:50 -0400, Anthony Balkissoon wrote:
> Once a JPopupMenu has been shown once, it no longer gets sized
> appropriately when components are added to or removed from it. This
> patch fixes that, and seems to agree with the JDK although I could find
> no specific documentation supporting the decision to set the size to the
> JPopupMenu's preferred size.
>
>
> Patch attached.
>
>
> 2005-07-15 Anthony Balkissoon <address@hidden>
>
> * javax/swing/JPopupMenu.java:
> (insert): Resize the container to its preferred size when an item is
> inserted.
> (remove): Resize the container to its preferred size when an item is
> removed.
> _______________________________________________
> Classpath-patches mailing list
> address@hidden
> http://lists.gnu.org/mailman/listinfo/classpath-patches
JPopupMenuResize.diff
Description: Text Data