|
|
|
@ -56,6 +56,8 @@ public abstract class ColorControlWindow extends JPopupMenu {
|
|
|
|
|
private void initComponents(boolean isSupportTransparent) { |
|
|
|
|
setLightWeightPopupEnabled(JPopupMenu.getDefaultLightWeightPopupEnabled()); |
|
|
|
|
|
|
|
|
|
// windows下 需要手动处理焦点,不去抢占焦点,防止菜单栏弹窗消失
|
|
|
|
|
setFocusable(false); |
|
|
|
|
this.setLayout(FRGUIPaneFactory.createBorderLayout()); |
|
|
|
|
initSelectionPopupPane(isSupportTransparent); |
|
|
|
|
this.pack(); |
|
|
|
|