BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Why doesn't this work?

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> JBuilder
View previous topic :: View next topic  
Author Message
Aljo_
Guest





PostPosted: Sat Oct 11, 2003 5:07 pm    Post subject: Why doesn't this work? Reply with quote



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
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> JBuilder All times are GMT
Page 1 of 1

 
Jump to:  
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


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.