Merge pull request #1 from jarikurri/devel

Pulled devel
README.md: Fix developer formating. Crypter.java: remove main method.

Remove lines after developer Anton's name to make it same as other
developers.

Remove main method from Crypter.java and add a constructor to
make it an object class. Document the constructor. Remove parameters
from a method since they are no longer needed.

Signed-off-by: Raido Roomets <raido.roomets@cs.tamk.fi>
GUI: Add functionality to reset button.

Add an actionlistener to register button clicks of the reset button.

When the reset button is clicked and the textfields are not empty,
due to the added functionality textfields will be cleared.

Signed-off-by: Roope Rantanen <roopepe@hotmail.com>
Crypter.java: toMorse-method gets and handles user input text as a parameter.

toMorse-method gets a string as a parameter and compares its characters
to the characters of the arrays of the class. After that characters are
changed to normal characters or code depending the nature of the parameter
string.

Signed-off-by: Roope Rantanen <roopepe@hotmail.com>
GUI: Add functionality to "Crypt-it!" button.

Add an actionlistener to register "Crypt-it!"-button clicks.

When the "Crypt-it!" button is clicked and the textfields are not empty,
due to the added functionality user input will be passed as a parameter
to Crypter classes toMorse-method which will return crypted text as a string.

The returned string will be then set as a text to the right side textfield.

Signed-off-by: Roope Rantanen <roopepe@hotmail.com>
Crypter.java: Document a method and change version date.

Document the method that changes input text to crypted form and
change the version to match the date.

Signed-off-by: Raido Roomets <raido.roomets@cs.tamk.fi>
Crypter.java: Add feature to change received string to upper case.

Add feature to toMorse method which will change all received
characters to upper case. This will make it possible to receive
user input as both capital and small letters.

Signed-off-by: Raido Roomets <raido.roomets@cs.tamk.fi>
Crypter.java: Change morse array to crypted array.

Change morse array to crypted array and morse cells to cells that
contain a single cahracter to make decrypting easier.

Signed-off-by: Raido Roomets <raido.roomets@cs.tamk.fi>
Crypter: Change crypted-array from String[] to char[].

Change crypted-array from String-array to char-array.

Signed-off-by: Roope Rantanen <roopepe@hotmail.com>
Crypter.java: toAlphabets-method gets and handles user input text as a parameter.

toAlphabets-method gets a crypted string as a parameter and compares its characters
to the characters of the character-array. After that characters are
changed to normal characters and returned as a string.

Signed-off-by: Roope Rantanen <roopepe@hotmail.com>
GUI: Add functionality and components to GUI and arrange them in a proper way.

Adds two new buttons to UI. The switch button moves the text from
the right side to the left side for further converting.
In addition the switch-button changes crypt-button to
decrypt-button and vice versa.The crypt-button calls Crypter objects
toMorse-method and decrypt-button calls toAlphabets-method from
the same object. Text will be then converted either to a code or
to original text.

Signed-off-by: Roope Rantanen <roopepe@hotmail.com>
App.java, GUI.java: Adds documentation to App and moves title to constructor in GUI.

This commit adds documentation to App.java. It also sets the title of the GUI window in its constructor.
Solve Merging conflicts.

Solve merging conflicts listed below.

Merge remote-tracking branch 'anton/feature-appdocumentation' into test

Conflicts:
	src/GUI.java

Signed-off-by: Roope Rantanen <roopepe@hotmail.com>