|
|
|
@ -261,13 +261,13 @@ public abstract class UIControlPane extends BasicPane implements UnrepeatedNameH
|
|
|
|
|
// 点击"编辑"按钮,弹出面板
|
|
|
|
|
protected class PopupEditDialog extends JDialog { |
|
|
|
|
private JComponent editPane; |
|
|
|
|
private static final int WIDTH = 490; |
|
|
|
|
private static final int HEIGHT = 570; |
|
|
|
|
private static final int WIDTH = 570; |
|
|
|
|
private static final int HEIGHT = 490; |
|
|
|
|
|
|
|
|
|
PopupEditDialog(JComponent pane) { |
|
|
|
|
super(DesignerContext.getDesignerFrame()); |
|
|
|
|
setUndecorated(true); |
|
|
|
|
pane.setBorder(BorderFactory.createEmptyBorder(10, 10, 10, 10)); |
|
|
|
|
pane.setBorder(BorderFactory.createEmptyBorder(20, 10, 10, 10)); |
|
|
|
|
this.editPane = pane; |
|
|
|
|
this.getContentPane().add(editPane, BorderLayout.CENTER); |
|
|
|
|
setSize(WIDTH, HEIGHT); |
|
|
|
|