Assignment #5

Exception Application

Due:  April 5, 2002 at 1:00 pm
 

Create an  JFC application that triggers, catch and enunciates exceptions.

Your application should be satisfy the following:

1) Launch exceptions by selection from the following components Jcheckbox, Jbutton, Jslider and Choice or List or Jlist.
2) Integrate all the exceptions used in the ExceptTest code (Example 11-1 in CoreJava).
3) Trigger and trap at least 2 exceptions in addition to those in ExceptTest. Java (see java.lang)
4) Create a new exception (subclass), trigger and trap this new exception. (May be combined with item 3.) 
5) Newly created exceptions should be launched from JMENU options.
6) Ennunciate error messages back to the JFC panel, in addition to the messages that will be generated in the DOS console.

Notes:
 

  1.  Launching from the menu is easily accomplished by binding an event to a menu selection.
  2. Additional exceptions can be used in the java.io package.


Submission

1. Application contained in a zip file named <your_lastname5>.zip or jar file <your_lastname5.jar>

Main Page |

Comments/Questions? Send Mail to: [email protected]