[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[cp-patches] FYI: PopupFactory improvement
From: |
Roman Kennke |
Subject: |
[cp-patches] FYI: PopupFactory improvement |
Date: |
Sat, 21 Jan 2006 19:47:21 +0000 |
I improved the PopupFactory a little bit, so that it returns a
HeavyweightPopup when there is no JRootPane found up in the containement
hierarchy. Before we were throwing a NPE in this case. This is
important for mixed Swing/AWT GUIs as well as the Swing AWT peers (which
is similar to that).
2006-01-21 Roman Kennke <address@hidden>
* javax/swing/PopupFactory.java
(getPopup): If there is no Swing root found in any way, use a
heavyweight popup. This is useful for mixed Swing/AWT GUIs, or
for the Swing AWT peers.
/Roman
Roman Kennke
aicas GmbH
http://www.aicas.com
patch.diff
Description: Text Data
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [cp-patches] FYI: PopupFactory improvement,
Roman Kennke <=