The Artima Developer Community
Sponsored Link

Java Answers Forum
Debugging ?????????

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
rtrtrtrrt

Posts: 1
Nickname: iceb
Registered: Dec, 2002

Debugging ????????? Posted: Dec 8, 2002 7:58 AM
Reply to this message Reply
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

Topic: user idle time Previous Topic   Next Topic Topic: Good Bowling Scoring Program

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use