Fall 2010

Lab08
Tut GUI and File IO

Due: Wednesday December 09, 2009 11:59 PM

Lab08 - Tut GUI and File IO

Requirements

Comments placed in each source code file.5 pts
Program compiles without errors.5 pts
Jar file created.5 pts
Jar file executable.5 pts
Program converts from clear text to tut.20 pts
Program converts from tut to clear text.20 pts
Clear text and tut text can be saved in a text file.20 pts
Clear text and tut text can be read in from a text file.20 pts
Total100 pts

Resources

Objective

To practice with File IO

Instructions

For this lab you will be creating a Java application that is able to convert between clear text (normal text) and tut text (encoded text described below). The application should allow the user to open a file that contains either of these types of text or to enter the text manually into a TextArea component. The program should then be able to convert between the two types of text, displaying the converted text in another TextArea or outputting the converted text to a file at the users request.

The tut language is a simple encoded language where words are spelled out and the letters "ut" are placed after every constant and vowels are left as they are. So the word "Hello", in tut become "Hutelutluto" The word "Goodbye" becomes "Gutoodutbutyute". The sentence "How are you today?", becomes "Hutowut arute yutou tutodutayut?".