FileDocCategorySizeDatePackage
CustomPopupMenuUI.javaAPI DocExample1230Mon Jan 09 11:01:58 GMT 2006None

CustomPopupMenuUI

public class CustomPopupMenuUI extends BasicPopupMenuUI

Fields Summary
Constructors Summary
Methods Summary
public static javax.swing.plaf.ComponentUIcreateUI(javax.swing.JComponent c)

        return new CustomPopupMenuUI();
    
public javax.swing.PopupgetPopup(javax.swing.JPopupMenu popup, int x, int y)

        Popup pp = super.getPopup(popup,x,y);
        JPanel panel = (JPanel)popup.getParent();
        panel.setBorder(new ShadowBorder(3,3));
        panel.setOpaque(false);
        return pp;