rtrtrtrrt
Posts: 1
Nickname: iceb
Registered: Dec, 2002
|
|
Debugging ?????????
|
Posted: Dec 8, 2002 7:58 AM
|
|
Advertisement
|
Hi there
I have created an applet but it will not work
it just displays a grey box how come ?
Here is the code of the html page:
<html> <head> </head> <body> <center> < ;APPLET CODE="applet1.class" WIDTH="600" HEIGHT="400">
</body> </html>
The code of the java file:
import java.awt.*; import java.applet.*;
public class applet1 extends java.applet.Applet { public void paint(java.awt.Graphics g) { g.drawString("Hallo du der",50,25); } }
Here are the files:
Html
http://iceb.dk/java/applet1.html
Java file
http://iceb.dk/java/applet1.java
og class file
http://iceb.dk/java/applet1.class
|
|