Home > Games > Morse Code > Java Morse

Java Morse Code Trainer

This is a quick and dirty Java applet I threw together which has some advantages of the older VB6 "turbo morse".

To begin, click anywhere in the applet to make sure the focus is on it. Then you can 'key' in your morse code by using just about any key on the keyboard. Unlike turbo morse this program will help you get your timing better because there isn't a key for dot and another for dash. If you want a dot then don't hold they key down very long, if you want a dash then do :)

The slider at the top sets the time threashold which determins the difference between a dot and a dash. If you move it to the left then almost any entry will be considered a dash unless it is extremely short. If you move it to the right it will work in reverse.

All numbers are prefixed with "# ". Don't worry about entering a # symbol, that's just there so that you can tell the difference between 0 (zero) and O (The letter).

If you are interested, here is the source code.

A .-
B -...
C -.-.
D -..
E .
F ..-.
G --.
H ....
I ..
J .---
K -.-
L .-..
M --
N -.
O ---
P .--.
Q --.-
R .-.
S ...
T -
U ..-
V ...-
W .--
X -..-
Y -.--
Z --..
1 .----
2 ..---
3 ...--
4 ....-
5 .....
6 -....
7 --...
8 ---..
9 ----.
0 -----