else if(ae.getActionCommand().equals(MainMenu.ACTION_OPTIONS)) {
OptionsDialog od = new OptionsDialog();
od.setVisible(true);
}
else if(ae.getActionCommand().equals(MainMenu.ACTION_HISTORY)) {
History hd = new History();
hd.setVisible(true);
}
else if(ae.getActionCommand().equals(MainMenu.ACTION_TRACKER)) {
// state is set automatically!
}
else if(ae.getActionCommand().equals(MainMenu.ACTION_ABOUT)) {
AboutDialog ad = new AboutDialog();
ad.setVisible(true);
}
else if(ae.getActionCommand().equals(MainMenu.ACTION_HELP)) {
HTMLDialog hd = new HTMLDialog("html/help.html", "Help");
hd.setVisible(true);
}
else if(ae.getActionCommand().equals(MainMenu.ACTION_LICENSE)) {
HTMLDialog hd = new HTMLDialog("html/license.html", "License");
hd.setVisible(true);
}
else if(ae.getActionCommand().equals(MainMenu.ACTION_REVISIONS)) {
HTMLDialog hd = new HTMLDialog("html/history.html", "Revisions");
hd.setVisible(true);
}
}