Morse Code Applet , Java

In the old days, Morse Code was a great invention to be able to transmit information in form of "dots" and "dashes". Using only two symbols to represent letters. In the modern age, many young people are very unfamiliar with morse codes. Some didn't even knew what morse code looks like. So, I created a program (previously it was in C/C++) but it's kinda unfriendly to share with. I decided to make an Java Applet version of the program to be running in ordinary browser and to see how it works.
This time, I did it in reverse. Translating from Alphabet letters into morse code symbols.



Input your words in the upper textbox. The output of the morse code is shown at the lower text box.








A 0-
B -000
C -0-0
D -00
E 0
F 00-0
G --0
H 0000
I 00
J 0---
K -0-
L 0-00
M --
N -0
O ---
P 0--0
Q --0-
R 0-0
S 000
T -
U 00-
V 000-
W 0--
X -00-
Y -0--
Z --00


1 0----
2 00---
3 000--
4 0000-
5 00000
6 -0000
7 --000
8 ---00
9 ----0
0 -----


"The source code is not revealed here...."
Created by: Dooodz

0 comments: