Skip to content

Commit

Permalink
Increment the version number
Browse files Browse the repository at this point in the history
  • Loading branch information
RoanH committed Jun 18, 2018
1 parent c822963 commit 6ea3699
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ImageScaler/src/me/roan/imagescaler/Main.java
Original file line number Diff line number Diff line change
Expand Up @@ -301,11 +301,11 @@ public static void main(String[] args){

JPanel version = new JPanel(new GridLayout(2, 1, 0, 2));
version.setBorder(BorderFactory.createTitledBorder("Information"));
JLabel ver = new JLabel("<html><center><i>Version: v1.0, latest version: <font color=gray>loading</font></i></center></html>", SwingConstants.CENTER);
JLabel ver = new JLabel("<html><center><i>Version: v1.1, latest version: <font color=gray>loading</font></i></center></html>", SwingConstants.CENTER);
version.add(ver);
new Thread(()->{
String v = checkVersion();//XXX the version number
ver.setText("<html><center><i>Version: v1.0, latest version: " + (v == null ? "unknown :(" : v) + "</i></center></html>");
ver.setText("<html><center><i>Version: v1.1, latest version: " + (v == null ? "unknown :(" : v) + "</i></center></html>");
}, "Version Checker").start();
JPanel links = new JPanel(new GridLayout(1, 2, -2, 0));
JLabel forum = new JLabel("<html><font color=blue><u>Forums</u></font> -</html>", SwingConstants.RIGHT);
Expand Down

0 comments on commit 6ea3699

Please sign in to comment.