|
|
|
@ -3,8 +3,11 @@ package com.fr.design.designer.ui;
|
|
|
|
|
import com.fr.design.designer.creator.XCreator; |
|
|
|
|
import com.fr.design.mainframe.DesignerContext; |
|
|
|
|
import com.fr.design.mainframe.FormDesigner; |
|
|
|
|
import com.fr.stable.os.OperatingSystem; |
|
|
|
|
|
|
|
|
|
import java.awt.Rectangle; |
|
|
|
|
import javax.swing.JDialog; |
|
|
|
|
import javax.swing.JFrame; |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* @author hades |
|
|
|
@ -23,7 +26,7 @@ public class SelectedPopupDialog extends JDialog {
|
|
|
|
|
private boolean canVisible = true; |
|
|
|
|
|
|
|
|
|
public SelectedPopupDialog(XCreator creator, FormDesigner designer) { |
|
|
|
|
super(DesignerContext.getDesignerFrame()); |
|
|
|
|
super(OperatingSystem.isMacos() ? new JFrame() : DesignerContext.getDesignerFrame()); |
|
|
|
|
this.setUndecorated(true); |
|
|
|
|
this.setModal(false); |
|
|
|
|
this.setFocusableWindowState(false); |
|
|
|
|