 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Aljo_ Guest
|
Posted: Sat Oct 11, 2003 5:07 pm Post subject: Why doesn't this work? |
|
|
Hello!
I got a free evaluation copy of Borland's JBuilder9.
I also got a book about JAVA, and I am trying to type, compile and run some
examples from the book.
The following - very simple - source comes from my book, and I get the
errormessage that the applet isn't initialised.
Can someone please tell me how to get this to work?
Thanks, it is probably a very minor line that JBuilder9 needs, because the
book isn't about a specific JAVA compiler.
Here is my source:
----start----
package applet_test;
/**
* <p>Title: applet test</p>
* <p>Description: trying to get applets in html working</p>
* <p>Copyright: Copyright (c) 2003</p>
* <p>Company: </p>
* @author aljo
* @version 1.0
*/
import java.applet.*;
import java.awt.*;
public class Applet0 extends Applet
{
public void paint(Graphics g) {
g.drawString("Een bijzonder eenvoudige applet", 10, 20);
}
}
----end---
--
http://home.planet.nl/~aljo.in.pictures (About me, my relatives, hometown,
etc...)
http://www.home.zonnet.nl/Amersfoort (About my hometown, lots of photos and
explanation. Ook in het Nederlands.)
http://www.ranger49.tmfweb.nl (About the American Forces Network Europe.)
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|