CSC 365- Programming project 1 (Due 9/23/2005)


For this project you are expected to develop a GUI interface for a RASHTY/English translator similar to what you build in project 0:

  1. RASHTY-English dictionary
  2. English-RASHTY dictionary
  3. Add/Update Word
  4. Remove Word (not shown in the image)
  5. Translate
  6. Commit Changes/Exit

You will need to use the Map Interface and its implementation TreeMap to store English/RASHTY words with the RASHTY word as the key and the English word as the value. The data file from project #0 should be used here to load the data into your Map object.

Swing Employee Application shows you how to load word/meanings from a data file into a Map object as well as give you the framework for a GUI interface.

The following image should give you a reasonable layout for your frame; note that the Remove option is not shown but needs to be implemented:


When R/E is chosen:

When E/R is chosen:

When Add option is chosen:

When Remove is chosen (not shown as an option in the image above):

When Translate is chosen:

When Exit is chosen: