summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2009-02-08 20:02:39 +0000
committerPaul Buetow <paul@buetow.org>2009-02-08 20:02:39 +0000
commitef74b23865f582795bed6c18e8a0705a3a45fe52 (patch)
treeab403a57e5dd19f136f310cc2411b2613e14480d
parent732d996368db3103db5fe3ef310427f2f102ca6e (diff)
bugfix
-rw-r--r--sources/smstrade/SFrame.java2
-rw-r--r--sources/smstrade/SMain.java9
-rw-r--r--sources/smstrade/SPrefs.java2
3 files changed, 7 insertions, 6 deletions
diff --git a/sources/smstrade/SFrame.java b/sources/smstrade/SFrame.java
index 0c223a5..88652e9 100644
--- a/sources/smstrade/SFrame.java
+++ b/sources/smstrade/SFrame.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
*
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);
diff --git a/sources/smstrade/SPrefs.java b/sources/smstrade/SPrefs.java
index 16d6109..be3ba7f 100644
--- a/sources/smstrade/SPrefs.java
+++ b/sources/smstrade/SPrefs.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
*