/** The “add project” action. */
private I18nAction addProjectAction;
+ /** The “about” dialog. */
+ private AboutDialog aboutDialog;
+
/** The list of all defined nodes. */
private List<Node> nodeList;
public SwingInterface(Core core) {
this.core = core;
I18n.setLocale(Locale.ENGLISH); /* TODO - load config */
+ System.setProperty("swing.aatext", "true");
+ System.setProperty("swing.plaf.metal.controlFont", "Tahoma");
+ System.setProperty("swing.plaf.metal.userFont", "Tahoma");
initActions();
initDialogs();
}
*/
private void initDialogs() {
manageNodesDialog = new ManageNodesDialog(this);
+ aboutDialog = new AboutDialog(this);
}
//
* Shows the “about” dialog.
*/
private void helpAbout() {
+ aboutDialog.setVisible(true);
}
/**