Lab Assignment - COMP417 - 2603
Lab Assignment - COMP417 - 2603
1. Write a program using Border Layout to design a frame title “Teachers Information” and add
buttons “NewTeacher”, “UpdateTeacher”, “Save”, “Cancel” and “Okay”.
2. Write a java program to design the following GUI and perform event-handling to compute
Volume of cuboid. (Hint: volume= length* breadth*height)
3. Write a Java program for finding sum of marks of a student in three subjects using
JOPTIONPANE dialog boxes.
For the Above Form Perform the event. When clicked New, all the Text fields has to become
blank. And when clicked Update Button, all Text Fields has to print Update Information.
5. Write a servlet program to generate a HTML in web server and send it to client to print
StudentName , ID and Marks.
NOTE:
1. Submit assignment within due date.
2. 2 Marks will be deducted for late submission.
3. Assignment will be accepted through BLACKBOARD portal ONLY.
4. Questions having program must have code, input screen shot and output screen shot.
5. Only screen shots without writing code will be deducted 2 marks.
6. Program 5 provide only code.
7. Copied Assignments will be identified and deduction of marks will be done.