MAIN
ABOUT
COURSES
ADVERTISE
SPONSORS
LINK TO US
CONTACT US

FREE ONLINE COURSES FOR THE INTERNET COMMUNITY
 

Introduction

Chapter 1: The basics in Java

Chapter 2: Your first applet

Chapter 3: Threads and animation

Chapter 4: Images and parameters

Chapter 5: Mouse messages

Links to applets and source code

FAQ

Basic Course in Special Effects and Game Programming in Java

by Aníbal Wainstein

The rights to the English version of this course are reserved and owned by Mandomartis Software Company and Scandinavia Online. The course may not be displayed on other web sites other than this one. If you should happen see this content somewhere else on the Internet then please contact us.

FAQ

Last updated 1999-05-03


CONTENTS


General questions about the course

Question : Can't you publish new chapters more often? One get's impatient!

Answer : Note that the applets and programs developed during the course take a while to do. Not to mention writing the course content.

Questions about installing

Question : I have a slow Internet connection so that when I want to download the development tools it will take hours. Couldn't you offer those tools on a CD-ROM and offer them for sale?

Answer : Unfortunately it is very complicated or impossible to get permission to distribute those tools from Microsoft or Sun in CD-media. No, the only way is to download them from Microsofts or Javasofts sites.

Question : Must I really download the SDK or the JDK? I found a lot of Java classes and other things in the folder "c:\windows\java" and I'm wondering if I don't have what's necessary to begin developing. I also happen to have Internet Explorer 4.0 too.

Answer : Under that folder are the Java classes that are used by your web browser. You have the Java Virtual Machine on your system but you have not the compilator that you need to create programs. The compilator exist only in the SDK or the JDK.

Question : I have downloaded JDK 1.1.7.b now but I can't find the start file for the program where you write the program code.

Answer : Unfortunately there is no editor in the Toolkit. You should use your own. You may use the text editor in Windows (notepad) or "edit.exe" which you can run in a DOS window.

Question : I wonder where I can download the API reference that you wrote about in chapter 2.

Answer : You can do that here:

http://www.javasoft.com/products/jdk/1.1/docs.html

Questions about compilation

Question : I have after one nights downloading not been able to find the jvc.exe in those files that were fetched in the Microsoft page. Is the compilator included?

Answer : It should be under the "bin" folder. Be sure to check that you have downloaded the right file. The file that contains the SDK should be called "sdk-java.exe".

Question : When I save a file in Windows notepad as a text file then I get automatically the txt tag. The compilator can naturaly not read this. I therefore change name from "myapplet.txt" to "myapplet.java". Is this wrong?

Answer : This is the problem with using Windows notepad. However it works completely fine just to change the file tag to ".java" after saving the file. It will not affect the end result.

Question : In what program do you create the class files?

Answer : You develop the class files in the compilator. The class files are the result when you compile your java file where the code has been written in the form of ordinary ASCII text. It is the class files that is the actual program and they are equivalent to Windows EXE-files (but they cannot be executed directly as you can with EXE files).

 


Copyright © 1999-2005 Mandomartis Software Company