tweak
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1731 51baf565-9d33-0410-a72c-fc3788e3496d
This commit is contained in:
@ -9,8 +9,10 @@ import java.io.IOException;
|
||||
|
||||
public class GUI implements CPDListener {
|
||||
|
||||
public static void main(String[] args) {
|
||||
new GUI();
|
||||
private static class CancelListener implements ActionListener {
|
||||
public void actionPerformed(ActionEvent e) {
|
||||
System.exit(0);
|
||||
}
|
||||
}
|
||||
|
||||
private class GoListener implements ActionListener {
|
||||
@ -28,12 +30,6 @@ public class GUI implements CPDListener {
|
||||
}
|
||||
}
|
||||
|
||||
private class CancelListener implements ActionListener {
|
||||
public void actionPerformed(ActionEvent e) {
|
||||
System.exit(0);
|
||||
}
|
||||
}
|
||||
|
||||
private class BrowseListener implements ActionListener {
|
||||
public void actionPerformed(ActionEvent e) {
|
||||
JFileChooser fc = new JFileChooser(rootDirectoryField.getText());
|
||||
@ -193,4 +189,9 @@ public class GUI implements CPDListener {
|
||||
tokenizingFilesBar.setValue(tokenizingFilesBar.getValue() + 1);
|
||||
}
|
||||
// CPDListener
|
||||
|
||||
public static void main(String[] args) {
|
||||
new GUI();
|
||||
}
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user