Threesuns

Email the Instructor

Contact

All Semesters

Semesters

All Courses

Courses

2011Fall

08.16.10 - 12.12.10

Advanced Java

CSYS2413

Thursday
05:30 PM - 08:20 PM

Tut Observer

Lab03

Objective: To practice using Multiple Document Interfaces and Observers

pastdue

Submit Your Solution

Lab03

Request a Copy of your Solution

Lab03

Requirements

Comments placed in the source code file5 pts
Application placed in an executable JAR file5 pts
MDI created and working20 pts
Basic text editor functions work including editing, saving, and opening20 pts
Tut translations are made correctly20 pts
Tut translations occur in real time30 pts
Total100 pts

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?".