summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2009-02-02 22:54:28 +0000
committerPaul Buetow <paul@buetow.org>2009-02-02 22:54:28 +0000
commit732d996368db3103db5fe3ef310427f2f102ca6e (patch)
tree7740ac198af546717a3cb4aef22f0762f274a8eb
parentdee6a7c53a36e38d5e7c04b5dd56f2a163297511 (diff)
release v0.2 ready
-rw-r--r--CHANGELOG4
-rw-r--r--LICENSE5
-rw-r--r--sources/smstrade/SFrame.java2
-rw-r--r--sources/smstrade/SMain.java7
-rw-r--r--sources/smstrade/SPrefs.java2
5 files changed, 14 insertions, 6 deletions
diff --git a/CHANGELOG b/CHANGELOG
new file mode 100644
index 0000000..9ca35c6
--- /dev/null
+++ b/CHANGELOG
@@ -0,0 +1,4 @@
+Mon Feb 2 - Changes from v0.1 -> v0.2
+ Default language is now english (used to be german)
+ Bugfix: If a message > 160 chars has been typed, the form will not
+ freeze any more
diff --git a/LICENSE b/LICENSE
index 6e2ce90..48f37d2 100644
--- a/LICENSE
+++ b/LICENSE
@@ -1,5 +1,6 @@
-/*
- * Copyright (c) 2008 Paul Buetow, smstrade@dev.buetow.org
+/* JSMSTrade v0.2
+ * Copyright (c) 2008 - 2009 Dipl.-Inform. (FH) Paul C. Buetow
+ * jsmstrade@dev.buetow.org - http://jsmstrade.buetow.org
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
diff --git a/sources/smstrade/SFrame.java b/sources/smstrade/SFrame.java
index 79dfdb0..0c223a5 100644
--- a/sources/smstrade/SFrame.java
+++ b/sources/smstrade/SFrame.java
@@ -1,4 +1,4 @@
-/*
+/* JSMSTrade v0.2
* 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 42b11ef..b9f3c8d 100644
--- a/sources/smstrade/SMain.java
+++ b/sources/smstrade/SMain.java
@@ -1,4 +1,4 @@
-/*
+/* JSMSTrade v0.2
* 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.1;
+ private static final double VERSION = 0.2;
/** The save file */
public static final String SAVE_FILE = "jsmstrade.dat";
@@ -153,6 +153,9 @@ public class SMain extends SFrame {
int length = textArea.getText().length();
if (length > MESSAGE_MAX_LENGTH) {
+ int diff = length - MESSAGE_MAX_LENGTH;
+ textArea.setText(
+ textArea.getText().substring(0, length-diff));
ke.consume();
} else {
diff --git a/sources/smstrade/SPrefs.java b/sources/smstrade/SPrefs.java
index eb6194c..16d6109 100644
--- a/sources/smstrade/SPrefs.java
+++ b/sources/smstrade/SPrefs.java
@@ -1,4 +1,4 @@
-/*
+/* JSMSTrade v0.2
* Copyright (c) 2008, 2009 Dipl.-Inform. (FH) Paul C. Buetow
* jsmstrade@dev.buetow.org - http://jsmstrade.buetow.org
*