CE00371-1 INTRODUCTION TO SOFTWARE DEVELOPMENT


Lab/Tutorial 9

Assessment weight : 8%

Due : Week 12

Programming exercises.

  1. Modify the StudentDBTester applet to add a data entry panel such that user can enter students data directly.

    The following is a screen shot of the applet after entering student "Peter Chan" to data set number 4:

    You only need to modify the file StudentDBTester.java to complete this exercise. Simply download the archive student.jar which contains Student and StudentDB class in the student pakage and add this to the build path.

    To do this:

    1. Select the project, and from its pop-up menu, select Properties. In the Properties dialog, select the Java Build Path page.
    2. Click the Libraries tab.
    3. Click the Add External JARs button.
    4. In the dialog that appears, select the student.JAR file that we want to add.
    5. Click the finish button.

  2. Combining NewStudentDBTester and the applet in part 2, write another StudentDBTester to include input Validation as follow:

  3. Upon completion, publish your answers [4 %] and submit hard copy of the following: