* @param e event object.
*/
public void actionPerformed(ActionEvent e)
{
MainFrame mainFrame = GlobalController.SINGLETON.getMainFrame();
ManagerDialog dialog = new ManagerDialog(mainFrame);
boolean changed = dialog.openDialog();
if (changed)
{
String btnLater = Strings.message("plugin.manager.exit.later");
String btnNow = Strings.message("plugin.manager.exit.now");
Object[] options = new Object[] { btnLater, btnNow };
int res = JOptionPane.showOptionDialog(mainFrame,
Strings.message("plugin.manager.exit.wording"),
dialog.getTitle(),
-1,
JOptionPane.QUESTION_MESSAGE,
ManagerDialog.getIcon(),
options,
btnLater);