cd # change to your root directory mkdir public_html # create the directory chmod 755 public_html # adjust read permissions
MovingBall.html MovingBall.java Ball.java sun.gif splat.au earth.gif gong.au
cd ~/public_html # move to appropriate directory cp /u/cs126/files/bounce/* . # copy files rm *.class # delete byte-compiled code
javac MovingBall.java
Ball.class MovingBall.class
appletviewer MovingBall.html
chmod 644 *.html *.gif *.au *.class
b1 = new Ball(-0.3, 0.4, 0.001, -0.0005, 10, image1, sound1, this);
sound.play();