|
|
|
@ -114,15 +114,16 @@ public class ExpandEffectTable extends JPanel {
|
|
|
|
|
effectControlUpdatePane.populate(); |
|
|
|
|
effectPopupEditDialog = EffectPopupEditDialog.newInstance(ShareDialogUtils.getInstance().getConfigDialog(), effectControlUpdatePane); |
|
|
|
|
effectPopupEditDialog.setTitle(selectEffectItem.getName()); |
|
|
|
|
Dimension d = Toolkit.getDefaultToolkit().getScreenSize(); |
|
|
|
|
effectPopupEditDialog.setLocation((d.width - effectPopupEditDialog.getSize().width) / 2, (d.height - effectPopupEditDialog.getSize().height) / 2); |
|
|
|
|
effectPopupEditDialog.setVisible(true); |
|
|
|
|
effectPopupEditDialog.addDialogActionListener(new DialogActionAdapter() { |
|
|
|
|
@Override |
|
|
|
|
public void doOk() { |
|
|
|
|
effectControlUpdatePane.update(); |
|
|
|
|
} |
|
|
|
|
}); |
|
|
|
|
Dimension d = Toolkit.getDefaultToolkit().getScreenSize(); |
|
|
|
|
effectPopupEditDialog.setLocation((d.width - effectPopupEditDialog.getSize().width) / 2, (d.height - effectPopupEditDialog.getSize().height) / 2); |
|
|
|
|
effectPopupEditDialog.setModal(true); |
|
|
|
|
effectPopupEditDialog.setVisible(true); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
public void mouseExited(MouseEvent e) { |
|
|
|
|