Shadow2531
[H]ard|Gawd
- Joined
- Jun 13, 2003
- Messages
- 1,670
I created a little java applet for testing.
I really don't know java that well. Did I do anything evil there? Derived that method from java.sun.com examples. The applet works as expected, but that doesn't mean anything.
I'm building the applet with gcj -C JavaAppletTest.java , which spits out the class file.
Thanks.
Code:
import java.applet.Applet;
import java.awt.*;
public class JavaAppletTest extends Applet {
public void paint(Graphics g) {
setBackground(Color.black);
g.setColor(Color.white);
g.drawString("Java Applet Loaded Successfully", 10, 20);
}
}
I really don't know java that well. Did I do anything evil there? Derived that method from java.sun.com examples. The applet works as expected, but that doesn't mean anything.
I'm building the applet with gcj -C JavaAppletTest.java , which spits out the class file.
Thanks.