Package versusSNP.util.action

Examples of versusSNP.util.action.EditAction


          new MyFileFilter(new String[] { "txt" }, UICaption.dialog_filter_file_tabbed),
          new MyFileFilter(new String[] { "csv" }, UICaption.dialog_filter_file_csv)}));
    btnBrowse2.addActionListener(new BrowseAction(txtPath2,
        new MyFileFilter[] {new MyFileFilter(new String[] { "fas", "fasta" }, UICaption.dialog_filter_file_fasta)}));
//    txtLabel.getDocument().addDocumentListener(new EditAction(name));
    txtPath1.getDocument().addDocumentListener(new EditAction(path1));
    txtPath2.getDocument().addDocumentListener(new EditAction(path2));
    panel1.add(txtLabel);
    panel2.add(txtPath1);
    panel2.add(btnBrowse1);
    panel3.add(txtPath2);
    panel3.add(btnBrowse2);
View Full Code Here


    txtPath = new JTextField();
    btnBrowse = new JButton(UICaption.dialog_caption_browse);
    txtPath.setPreferredSize(Size.dialog_textfield_path);
    btnBrowse.setPreferredSize(Size.dialog_button_browse);
    btnBrowse.addActionListener(new BrowseAction(txtPath));
    txtPath.getDocument().addDocumentListener(new EditAction(path));
  }
View Full Code Here

    btnBrowse2 = new JButton(UICaption.dialog_caption_browse);
    btnBrowse3 = new JButton(UICaption.dialog_caption_browse);
    btnBrowse1.addActionListener(new BrowseEnsureAction(txtPath1, "blastall"));
    btnBrowse2.addActionListener(new BrowseEnsureAction(txtPath2, "formatdb"));
    btnBrowse3.addActionListener(new BrowseAction(txtPath3, true));
    txtPath1.getDocument().addDocumentListener(new EditAction(blast_path));
    txtPath2.getDocument().addDocumentListener(new EditAction(formatdb_path));
    txtPath3.getDocument().addDocumentListener(new EditAction(temp_path));
    JPanel panel1 = new JPanel(new BorderLayout());
    JPanel panel2 = new JPanel(new BorderLayout());
    JPanel panel3 = new JPanel(new BorderLayout());
    panel1.add(txtPath1, BorderLayout.CENTER);
    panel1.add(btnBrowse1, BorderLayout.EAST);
View Full Code Here

    selector.addActionListener(new SelectAction(id));
    selector.setSelectedIndex(id.intValue());
    txtPath.setPreferredSize(Size.dialog_textfield_path);
    btnBrowse.setPreferredSize(Size.dialog_button_browse);
    btnBrowse.addActionListener(new BrowseAction(txtPath, JFileChooser.SAVE_DIALOG));
    txtPath.getDocument().addDocumentListener(new EditAction(path));
    panel.add(txtPath);
    panel.add(btnBrowse);
  }
View Full Code Here

TOP

Related Classes of versusSNP.util.action.EditAction

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.