|
|
@ -114,15 +114,16 @@ public class ExpandEffectTable extends JPanel { |
|
|
|
effectControlUpdatePane.populate(); |
|
|
|
effectControlUpdatePane.populate(); |
|
|
|
effectPopupEditDialog = EffectPopupEditDialog.newInstance(ShareDialogUtils.getInstance().getConfigDialog(), effectControlUpdatePane); |
|
|
|
effectPopupEditDialog = EffectPopupEditDialog.newInstance(ShareDialogUtils.getInstance().getConfigDialog(), effectControlUpdatePane); |
|
|
|
effectPopupEditDialog.setTitle(selectEffectItem.getName()); |
|
|
|
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() { |
|
|
|
effectPopupEditDialog.addDialogActionListener(new DialogActionAdapter() { |
|
|
|
@Override |
|
|
|
@Override |
|
|
|
public void doOk() { |
|
|
|
public void doOk() { |
|
|
|
effectControlUpdatePane.update(); |
|
|
|
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) { |
|
|
|
public void mouseExited(MouseEvent e) { |
|
|
|