renamed to Main

git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@991 379699f6-c40d-0410-875b-85095c16579e
stable
jochen 26 years ago
parent bed556a398
commit 1d541fe5ac
  1. 8
      jode/jode/swingui/Main.java

@ -1,4 +1,4 @@
/* MainWindow Copyright (C) 1999 Jochen Hoenicke. /* Main Copyright (C) 1999 Jochen Hoenicke.
* *
* This program is free software; you can redistribute it and/or modify * This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by * it under the terms of the GNU General Public License as published by
@ -35,7 +35,7 @@ import java.awt.*;
import java.awt.event.*; import java.awt.event.*;
import java.io.*; import java.io.*;
public class MainWindow public class Main
implements ActionListener, Runnable, TreeSelectionListener { implements ActionListener, Runnable, TreeSelectionListener {
JFrame frame; JFrame frame;
JTree classTree; JTree classTree;
@ -44,7 +44,7 @@ public class MainWindow
Thread decompileThread; Thread decompileThread;
String currentClassPath, lastClassName; String currentClassPath, lastClassName;
public MainWindow(String classpath) { public Main(String classpath) {
setClasspath(classpath); setClasspath(classpath);
frame = new JFrame(GlobalOptions.copyright); frame = new JFrame(GlobalOptions.copyright);
fillContentPane(frame.getContentPane()); fillContentPane(frame.getContentPane());
@ -276,7 +276,7 @@ public class MainWindow
return; return;
} }
GlobalOptions.verboseLevel = 1; GlobalOptions.verboseLevel = 1;
MainWindow win = new MainWindow(cp); Main win = new Main(cp);
win.show(); win.show();
} }
} }

Loading…
Cancel
Save