Lines Matching refs:HeavyWeightPopup
268 return HeavyWeightPopup.getHeavyWeightPopup(owner, contents, ownerX,
293 private static class HeavyWeightPopup extends Popup {
305 HeavyWeightPopup popup = null;
336 popup = new HeavyWeightPopup();
355 * there is no <code>HeavyWeightPopup</code> associated with
358 private static HeavyWeightPopup getRecycledHeavyWeightPopup(Window w) {
359 synchronized (HeavyWeightPopup.class) {
360 List<HeavyWeightPopup> cache;
361 Map<Window, List<HeavyWeightPopup>> heavyPopupCache = getHeavyWeightPopupCache();
369 HeavyWeightPopup r = cache.get(0);
380 * <code>HeavyWeightPopup</code>s.
382 private static Map<Window, List<HeavyWeightPopup>> getHeavyWeightPopupCache() {
383 synchronized (HeavyWeightPopup.class) {
384 Map<Window, List<HeavyWeightPopup>> cache = (Map<Window, List<HeavyWeightPopup>>)SwingUtilities.appContextGet(
388 cache = new HashMap<Window, List<HeavyWeightPopup>>(2);
397 * Recycles the passed in <code>HeavyWeightPopup</code>.
399 private static void recycleHeavyWeightPopup(HeavyWeightPopup popup) {
400 synchronized (HeavyWeightPopup.class) {
401 List<HeavyWeightPopup> cache;
404 Map<Window, List<HeavyWeightPopup>> heavyPopupCache = getHeavyWeightPopupCache();
418 cache = new ArrayList<HeavyWeightPopup>();
425 List<HeavyWeightPopup> popups;
427 synchronized(HeavyWeightPopup.class) {
428 Map<Window, List<HeavyWeightPopup>> heavyPopupCache2 =