use of net.sf.mzmine.desktop.impl.helpwindow.HelpWindow in project mzmine2 by mzmine.
the class ParameterSetupDialog method actionPerformed.
/**
* Implementation for ActionListener interface
*/
@Override
public void actionPerformed(ActionEvent ae) {
Object src = ae.getSource();
if (src == btnOK) {
closeDialog(ExitCode.OK);
}
if (src == btnCancel) {
closeDialog(ExitCode.CANCEL);
}
if (src == btnHelp) {
Platform.runLater(() -> {
if (helpWindow != null) {
helpWindow.show();
helpWindow.toFront();
} else {
helpWindow = new HelpWindow(helpURL.toString());
helpWindow.show();
}
});
}
if ((src instanceof JCheckBox) || (src instanceof JComboBox)) {
parametersChanged();
}
}
use of net.sf.mzmine.desktop.impl.helpwindow.HelpWindow in project mzmine2 by mzmine.
the class MainWindow method showAboutDialog.
public void showAboutDialog() {
Platform.runLater(() -> {
final URL aboutPage = getClass().getClassLoader().getResource("aboutpage/AboutMZmine.html");
HelpWindow aboutWindow = new HelpWindow(aboutPage.toString());
aboutWindow.show();
});
}
use of net.sf.mzmine.desktop.impl.helpwindow.HelpWindow in project mzmine2 by mzmine.
the class MSMSLibrarySubmissionWindow method actionPerformed.
@Override
public void actionPerformed(ActionEvent e) {
Object src = e.getSource();
if (src == helpButton) {
Platform.runLater(() -> {
if (helpWindow != null) {
helpWindow.show();
helpWindow.toFront();
} else {
helpWindow = new HelpWindow(helpURL.toString());
helpWindow.show();
}
});
}
}
Aggregations