Exercise 1: Copying the Project Source Files

In this exercise you will create a new directory and copy the project files from the examples directory. Copying the completed project files frees you from actually coding each bean component.

Complete the appropriate steps below for the system you are using.

On Microsoft Windows 95 and NT systems:

  1. Open a Windows Explorer window.
  2. Change your working directory to the \your-home-dir\jws directory.
    This is where you keep your portfolios and projects in Java WorkShop.
  3. In the Windows Explorer window, make a new folder called Clock, by choosing File -> New -> Folder and typing the Clock folder name.
  4. Copy the *.java, *.gif, and *.au files from the
    \your-home-dir\Java-WorkShop20\JWS\examples\ClockBeans directory, into the
    \your-home-dir\jws\Clock directory.
  5. Change the permissions so that you can write to the files that you copied.

On Solaris systems:

  1. Open a command tool.
  2. Change your working directory to the /your-home-dir/jws directory.
    This is where you keep your portfolios and projects in Java WorkShop.
  3. Make a new directory called Clock and change to that directory by typing:
    mkdir Clock
    cd Clock
  4. Copy the *.java, *.gif, and *.au files from the
    /your-home-dir/Java-WorkShop20/JWS/examples/ClockBeans directory, into the
    /your-home-dir/jws/Clock directory.
  5. Change the permissions so that you can write to the files that you copied.

Next lesson:

Exercise 2: Creating the Clock Project