diff options
| author | Paul Buetow <paul@buetow.org> | 2009-02-08 20:02:39 +0000 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2009-02-08 20:02:39 +0000 |
| commit | ef74b23865f582795bed6c18e8a0705a3a45fe52 (patch) | |
| tree | ab403a57e5dd19f136f310cc2411b2613e14480d /sources/smstrade/SMain.java | |
| parent | 732d996368db3103db5fe3ef310427f2f102ca6e (diff) | |
bugfix
Diffstat (limited to 'sources/smstrade/SMain.java')
| -rw-r--r-- | sources/smstrade/SMain.java | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/sources/smstrade/SMain.java b/sources/smstrade/SMain.java index b9f3c8d..49f9716 100644 --- a/sources/smstrade/SMain.java +++ b/sources/smstrade/SMain.java @@ -1,4 +1,4 @@ -/* JSMSTrade v0.2 +/* JSMSTrade v0.3 * Copyright (c) 2008, 2009 Dipl.-Inform. (FH) Paul C. Buetow * jsmstrade@dev.buetow.org - http://jsmstrade.buetow.org * @@ -43,7 +43,7 @@ public class SMain extends SFrame { private static final int MESSAGE_MAX_LENGTH = 160; /** The program version */ - private static final double VERSION = 0.2; + private static final double VERSION = 0.3; /** The save file */ public static final String SAVE_FILE = "jsmstrade.dat"; @@ -189,7 +189,7 @@ public class SMain extends SFrame { JButton source = (JButton) ae.getSource(); String text = source.getText(); - if (text.equals("Senden")) { + if (text.equals("Send it")) { String message = textArea.getText(); textArea.setText(""); buttonPanel.remove(2); @@ -216,7 +216,8 @@ public class SMain extends SFrame { } catch (Exception e) { System.err.println(e); } - + + buttonPanel.updateUI(); } else if (text.equals("Delete")) { textArea.setText(""); buttonPanel.remove(2); |
