To practice using Multiple Document Interfaces and Observers
Instructions
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 Language of Tut
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?".