Lab 7 - Events
Objectives
- Create scripts to handle events
- Download the chapter 14 source code and import it into Eclipse.
This project contains the BeanShell library.
- For future reference to include the library in a project you do the
following when creating the new project:
- Select the src folder as the source directory for the project and select
the Next button
- Select the Library tab
- Select the Add Jar button
- Select bsh-core-1.2b7.jar
- Select Finish
- Try out EventTest.
- Modify the code so that instead of having a trigger for the gate, you
will have at least two levers which need to be pulled in a certain sequence
to make the gate open.
- Email the modified files to me for grading.