Making edits

Often when you make edits in a .java file you want to see what you have so far. Obviously if it does not compile you need to edit until you can run it.

In general, you have the following sequence:

  1. edit the .java file and remember to save it

  2. compile the file

  3. does it have compilation errors? If so, go back to 1

  • If there are no errors, then you want to see how it is running. Open your .html file on your favorite browser to look at it. Don't forget your <applet> tag in your .html page tells the size of the Graphics space with its height and width. If you need more space (if you are not seeing something you think you should), make those numbers higher.