View Single Post
Old Jan 4th, 2005, 9:14 PM   #5
Cup O' Java
Newbie
 
Cup O' Java's Avatar
 
Join Date: Dec 2004
Posts: 18
Rep Power: 0 Cup O' Java is on a distinguished road
ok i reinstalled it and it worked. i guess it wasnt compiling right before thats why it wasnt posting all the files in the "classes" folder.

i do have on question anyways. i tried to create an applet, it posted all the files after compiling and all accept when i few the html file it posts "Welcome to Java!!" now that is nice accept my code tells it to print something totally different.

Quote:

import javax.swing.JApplet;
import java.awt.Graphics;

public class applet1 extends JApplet
{
public void paint(Graphics g)
{
g.drawString("To climb a ladder, start at the bottom rung", 20, 90);
}
}
Cup O' Java is offline   Reply With Quote