txtLabel.setPreferredSize(Size.dialog_textfield_label);
txtPath1.setPreferredSize(Size.dialog_textfield_path);
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);