> 2005-09-29  David Gilbert  <[EMAIL PROTECTED]>
> 
>     * javax/swing/JPopupMenu.java
>     (setVisible): use current size, not preferred size, when checking for
>     screen edge,

Actually, you should use the preferredSize. This gets the preferredSize
of each menuitem- which returns the size with the correct spacing for
the accelerators, icons etc. By doing this, the menu's will be painted
at the correct size.

I fixed this and I will commit it soon.



_______________________________________________
Classpath-patches mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/classpath-patches

Reply via email to