Lines Matching refs:LightWeightPopup
247 return LightWeightPopup.getLightWeightPopup(owner, contents, ownerX,
640 private static class LightWeightPopup extends ContainerPopup {
651 LightWeightPopup popup = getRecycledLightWeightPopup();
654 popup = new LightWeightPopup();
668 private static List<LightWeightPopup> getLightWeightPopupCache() {
669 List<LightWeightPopup> cache = (List<LightWeightPopup>)SwingUtilities.appContextGet(
672 cache = new ArrayList<LightWeightPopup>();
679 * Recycles the LightWeightPopup <code>popup</code>.
681 private static void recycleLightWeightPopup(LightWeightPopup popup) {
682 synchronized (LightWeightPopup.class) {
683 List<LightWeightPopup> lightPopupCache = getLightWeightPopupCache();
691 * Returns a previously used <code>LightWeightPopup</code>, or null
694 private static LightWeightPopup getRecycledLightWeightPopup() {
695 synchronized (LightWeightPopup.class) {
696 List<LightWeightPopup> lightPopupCache = getLightWeightPopupCache();
698 LightWeightPopup r = lightPopupCache.get(0);