The easiest way I have seen people do it using ccj is to draw a huge circle (whose diameter is bigger than the diagonal of the applet box).
CCJ itself does not have much of a way to change the fonts or sizes of the text you display. However, you can change the font sizes and types in your applet, in the following manner:
import java.awt.*; // fonts are in AWT
import ccj.*; // our regular ccj
...
setFont(new Font("Times", Font.BOLD, 18));
// new Font takes in a font name, style and size.
// feel free to play around with the three options.
Well, there are two ways of accomplishing this. One way is to use the ImageApplet class that is in ccj. To use this, simply make your applet extend ImageApplet instead of GraphicsApplet. Then you can read an image file, write an image file, and view an image file with the three methods of ImageApplet. See the file ImageApplet.java in your ccj folder to see what parameters should be passed into the three methods. Note that this method will only view images in binary PPM format (not compressed formats such as gif, jpeg etc.)
The second method, which may be simpler for many of you, is to use a class written by Steve Hockema, one of our AIs. This class is called MyImage. You can put this file in your ccj folder, and then you can simply create and manipulate an image just like you would create and manipulate a circle.
javadoc is a program that automatically generates programmers' level documentation on your code based on comments in your program. You will need to use a special syntax of comments, which is a small variation on standard java comments. For full information on these doc comments, see http://java.sun.com/products/jdk/javadoc/index.html.
Unfortunately, to use javadoc, you will need to have at least Cafe 3.0. The version of Cafe we have in the labs does not have this capability. For users of Cafe 3.0, I believe you need to open your project, and then go to Project - Generate javadoc or something similar. If you downloaded jdk from Sun, it comes with javadoc. You will need to run it from the command line like you run javac.
javadoc will generate quite a few files. The two most important files are your class documentation and index. If you have multiple classes, then there will be a documentation file for each of the classes. You should print all of the class documentations out. It is named with the same name as your class, with a .html extension.