The 6 exercises are described in the files ExerciseN.java
in the src
directory of the project. Each exercise builds on the previous one.
Some of the exercises use the Toolbox.crash
method to perform validation. The Toolbox
class is defined in the type
library. To use it, you must attach it as an external library to your Eclipse project which is contained in the following JAR file type.jar.
Complete all the exercises.
This lab is not graded and you don't need to submit anything. However the solution to the last exercise is similar to that of a problem that you will have to solve in next week's lab, which will be graded.
File
menuImport
itemGeneral
itemExisting project into workspace
item and then click the Next
button at the bottomSelect archive file
and click the Browse
button on the following dialogFinish
to finish importing the project, which should then appear in the Package Explorer window.
Project
menuProperties
Java Build P
ath
Libraries
tabAdd External JARs...
buttonThis lab is not graded and you don't need to submit anything. However the solution to the last exercise is similar to that of a problem you will have to solve in next week's lab, which will be graded.