chiark / gitweb /
Use autogenerated version and display it in the UI
authorIan Jackson <ian@liberator.relativity.greenend.org.uk>
Sun, 22 Aug 2010 22:01:53 +0000 (23:01 +0100)
committerIan Jackson <ian@liberator.relativity.greenend.org.uk>
Sun, 22 Aug 2010 22:01:53 +0000 (23:01 +0100)
src/com/tedpearson/ypp/market/ControlPanel.java

index 1a78b2d..dba9c7d 100644 (file)
@@ -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"));