Package net.sf.mzmine.util.dialogs

Examples of net.sf.mzmine.util.dialogs.PeriodicTableDialog


  public void actionPerformed(ActionEvent event) {

    Object src = event.getSource();

    if (src == addElementButton) {
      PeriodicTableDialog dialog = new PeriodicTableDialog();
      dialog.setVisible(true);
      String chosenElement = dialog.getSelectedElement();
      if (chosenElement == null)
        return;
      ElementRule rule = new ElementRule(chosenElement, 0, 100);
      elementsTableModel.addRow(rule);
    }
View Full Code Here

TOP

Related Classes of net.sf.mzmine.util.dialogs.PeriodicTableDialog

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.