next up previous
Next: The Algorithm Up: In the Laboratory: Pig Previous: GUI Specifications

Problem Decomposition

One way to decompose this problem is to divide it into two classes: PigLatinApplet, which implements the user interface, and PigLatin, which contains the expertise needed to translate English into Pig Latin. PigLatinApplet should get the input from the user (in a TextField), pass it to PigLatin, which will translate it into Pig Latin, and then display the result in the TextArea.



Ralph Morelli {Faculty}
12/22/1999