Come back to the program and click on the Verify button to check the correct syntax:
Once the syntax has been verified make sure that “Arduino Duemilanove or Nano w/ ATmega 328” is selected from Tools/Board menu:
Now click on the Upload button
At the end of the process an error message appears, because Arduino board is not connected, we can ignore it:
Instead make sure that applet directory has been created in the directory of the pde file: