* An Installer for PCTB Java Client.
*/
public class Installer extends JFrame {
- public final static int VERSION = 8;
private JLabel label;
private JProgressBar progress;
private JButton install, uninstall;
public Installer(String[] args) {
super("PCTB Installer");
- Updater.getUpdater().checkAndUpdate(null, "http://tedpearson.com/market/version",
- "the PCTB Uploader client", VERSION, true,
- getClass().getProtectionDomain().getCodeSource().getLocation().getPath());
-
// gui: simple window with status area and progress bar
checkPermission(args);
label = new JLabel("Ready to install!");
uninstalled = false;
}
}
-}
\ No newline at end of file
+}