[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[cp-patches] FYI: JPopupMenu fixlet
From: |
Roman Kennke |
Subject: |
[cp-patches] FYI: JPopupMenu fixlet |
Date: |
Tue, 01 Nov 2005 20:58:49 +0000 |
Hi,
Lillian discovered a little bug in the JPopupMenu. The PopupFactory
always returned a lightweight Popup even when a heavyweight Popup would
be needed (when the Popup bounds don't fit the containing rootpane's
size). This is only a slight programming error, the JPopupMenu must be
packed before the Popup is fetched from the PopupFactory, so the
PopupFactory has the correct size.
2005-11-01 Roman Kennke <address@hidden>
* javax/swing/JPopupMenu.java
(setVisible): Pack the JPopupMenu before fetching the Popup
instance. Otherwise the PopupFactory has the wrong size for
its size check.
/Roman
JPopupMenu.diff
Description: Text Data
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [cp-patches] FYI: JPopupMenu fixlet,
Roman Kennke <=