CS 178 Programming with Multimedia Objects
Fall 2004 |
|||||||
Recitation Exercise:
Prepared by: Aditya Mathur. To be completed in class on Oct 22, 2004. |
|||||||
Learning objectives:
|
|||||||
Complete the following set of instructions to develop a few simple methods. Note that we are NOT writing an applet. Instead, we are writing methods that could be used later inside a Java applet.
Global Array and other declarations:
Write the following methods. readData
As an example, suppose that the file genes contains the following data: 2 9 cleaopatra 5 tudorYour method should read two gene names in the file and display them in two text fields. Last update: October 22, 2004 |
|||||||