08.16.10 - 12.12.10
Comments placed in the source code file | 5 pts |
Application placed in an executable JAR file | 5 pts |
MDI created and working | 20 pts |
Basic text editor functions work including editing, saving, and opening | 20 pts |
Tut translations are made correctly | 20 pts |
Tut translations occur in real time | 30 pts |
Total | 100 pts |
For this lab you will need to create a Multiple Document Interface that displays two internal frames. The first frame should be a basic text editor that allows text to be typed, opened, and saved. The second frame should also show a text editor but this frame should observe the first frame, displaying anything that is typed into it in the language of tut (described below). Whenever any changes are made to the first text editor, those changes should be seen immediately in the translation shown in the second editor. The user should also be able to save the content of the second editor.
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?".