HOW TO SUBMIT HOMEWORKS

 

Obtain a web area at a server such as gmail, my net ect.. or use your area at Orca.

Prepare a home page giving info about you similar to samle page in the list and there give links to your homework pages as you load your homeworks.

Send me the address of your home page as soon as you prepare it by email to halici@metu.edu.tr so as to give a link in the student list page that I prepare .

Note: In case you can't run your applet under a java enabled browser, even though you had successfully run it in the program that you had constructed it, please check the following.

· While you are running your compiled code, the code needs some "*.class" files. These files may be the ones that you have constructed or you borrowed from the visual based Java compiler ("Components" in Java Builder). Your main class and the classes you borrowed from your compiler program should reside in the same directory.

· When you are running the program under a visual based Java compiler (e.g. Java Builder v.X, Microsoft Visual Caff v.X etc.) and if you have used any of the ready-to-use classes (e.g. if you had used a "button" in java builder, the program calls the necessary classes from the libraries. However, when you are executing your applet under a java-enabled browser, your applet doesn't know from where to call these ready-use-classes. What you exactly have to do is to create a compressed file with the extension "*.JAR" containing the classes that you need to use. ( To construct this file in java Builder go to the "Wizards" menu after successfully running your applet. Select "Deployment Wizard". Here, Java builder traces your code and creates a JAR file, which will contain the necessary CLASS files.)

· After creating your *.JAR files which contains the main and auxiliary class files, you have to create your HTML file. Your HTML file should call this library (by library, we mean the JAR file you have created.) To call this library from your program, your HTML file should contain the corresponding codes:
.
.

<APPLET
.
.
CODE = "yoursurname.class" //main Applet class
ARCHIVE = "yoursurname.jar"
.
.

.
>

</APPLET>
.
.
Also be careful to place your library file (yoursurname.JAR) and your HTML file in the same directory.

Good Luck