Package versusSNP.gui.widgets

Examples of versusSNP.gui.widgets.MyFileFilter


    txtPath2.setPreferredSize(Size.dialog_textfield_path);
    btnBrowse1.setPreferredSize(Size.dialog_button_browse);
    btnBrowse2.setPreferredSize(Size.dialog_button_browse);
    btnBrowse1.addActionListener(new BrowseAction(txtPath1,
        new MyFileFilter[] {
          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);
View Full Code Here

TOP

Related Classes of versusSNP.gui.widgets.MyFileFilter

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.