classpath-patches
[Top][All Lists]
Advanced

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

[cp-patches] FYI: Patch for BasicMenuUI


From: Anthony Balkissoon
Subject: [cp-patches] FYI: Patch for BasicMenuUI
Date: Mon, 18 Jul 2005 14:58:29 -0400

This patch fixes the problem where sub-menus were being sized
incorrectly (not respecting the largest element in the popup menu).

Patch attached.

2005-07-18  Anthony Balkissoon  <address@hidden>

* javax/swing/plaf/basic/BasicMenuUI.java:
(getMaximumSize): Added check for this menu not being a top level menu.
If that's the case, return the maximum size as if it were a regular
JMenuItem.

-Tony

Attachment: JMenuSubMenuSizing.diff
Description: Text Data


reply via email to

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