chiark / gitweb /
fix up comments for the way things are now, and update the licence file
[jarrg-ian.git] / src / com / tedpearson / ypp / market / ControlPanel.java
index 1a78b2d67307a113e7fab4498a789e2313d58bdd..dc91b06e9b30b9aa1b72baf1c96b6375f2b6593c 100644 (file)
@@ -7,7 +7,7 @@ import java.util.prefs.*;
 
 /**
 *      ControlPanel is a simple management utility that sets
-*      a preference for whether the PCTB client is to launch or not.
+*      a preference for which server(s) to upload to.
 */
 public class ControlPanel extends JFrame {
        public static void main(String[] args) {
@@ -30,11 +30,16 @@ public class ControlPanel extends JFrame {
                liveortest.add(live);
                liveortest.add(testing);
 
+               String version_label = " version: " +
+                   com.tedpearson.ypp.market.Version.version;
+               JLabel version = new JLabel(version_label);
+
                setLayout(new GridLayout(6,1));
                add(toPCTB);
                add(toYarrg);
                add(live);
                add(testing);
+               add(version);
 
                final int exitstatus = Integer.parseInt(System.getProperty("com.tedpearson.ypp.market.controlpanel.exitstatus", "0"));