您的位置:寻梦网首页编程乐园Java天地Core JavaJava Lecture Notes

Introduction

Content

Apply

Reflect

Extend

previous.gif
 (3087 bytes)

next.gif
 (2959 bytes)

 

Apply Index

Apply Page # 1

Activity 1: Compilation of "Ball.java"

It is useful to place each version of the bouncing ball application in a different directory (folder). Bounce1 for version 1, Bounce 2 for the second  version etc.

(1)     Click on the link Ball.java and  then open the file. The file will be displayed in the Kawa editor window.

(2)     Add a comment at the top with your name and date:  e.g.

      //  Kevin Boone 1/03/01

(3)     Choose Save As from the File pull down menu of Kawa, and create a new directory  Bounce1  where you will save your file and then save it as  Ball.java

(4)     Compile the file into bytecode by choosing Compile from the Build pull down menu of Kawa. You should get the message:

       File Compiled?

       No Errors ?

in the message window.

 

Discussion of Activity 1

Back to Content

Back to top

basicline.gif (169 bytes)

RITSEC - Global Campus
Copyright ?1999 RITSEC- Middlesex University. All rights reserved.
webmaster@globalcampus.com.eg