if (_detached) { if (getPopupBorder() == null) { _resizableSupport.setBorder(UIDefaultsLookup.getBorder("Resizable.resizeBorder")); _resizableSupport.setBorder(getPopupBorder()); if (getPopupBorder() == null) { if (!CLIENT_PROPERTY_VALUE_POPUP_TYPE_COMBOBOX.equals(getClientProperty(CLIENT_PROPERTY_POPUP_TYPE))) { _resizableSupport.setBorder(UIDefaultsLookup.getBorder("PopupMenu.border")); _resizableSupport.setBorder(getPopupBorder());
_resizableSupport.getResizable().setResizableCorners(Resizable.NONE); _resizableSupport.setBorder(getPopupBorder()); _resizableSupport.getResizable().setResizableCorners(Resizable.NONE); _resizableSupport.setBorder(UIDefaultsLookup.getBorder("Resizable.resizeBorder")); Border border = UIDefaultsLookup.getBorder("PopupMenu.border"); if (border != null && (!(_resizableSupport instanceof Component) || border.getBorderInsets((Component) _resizableSupport) != null)) { _resizableSupport.setBorder(border);