Re: A Q about Borland JBuilder9.

From: Aljo_ (aljo_ribw_at_hotmail.com)
Date: 10/12/03


Date: Sun, 12 Oct 2003 13:07:50 +0200

You are right! Now it works! Thanks so much!
I am a complete novice in this.
I have a book about JAVA that I am going to read!
Thanks again,
Aljo_

"Me" <burgisr@hotmail.com> schreef in bericht
news:BBAE39BF.1F178%burgisr@hotmail.com...
> I just tried pasting your example into Project Builder and got the same
> result. Then I noticed that my Applet tag in the HTML file looked like:
>
> <APPLET archive="Applet0.jar" code="Applet0" width=300 height=150>
> </APPLET>
>
> Which means that it was looking in the base level for the applet, but it
> wasn't there, so it wasn't initialized.
>
> The reason for that was that you put the Applet0 class in the applet_test
> package. So you need to change the code attribute to
>
> code="applet_test.Applet0"
>
> That way it will look in your package for the applet and thus find it.
>
> Good luck
>
> in article bm9dl1$df8$1@reader10.wxs.nl, Aljo_ at aljo_ribw@hotmail.com
> wrote on 10/11/03 1:09 PM:
>
> > 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.)
> >
> >
>



Relevant Pages

  • Re: applet + database
    ... which allows applet code ... I ended up using servlets and JSPs (java server pages). ... do the database query, package ... database to applet. ...
    (comp.lang.java.programmer)
  • Technical information about the vulnerabilities fixed by MS-02-52
    ... The patch doesn't fix all of the vulnerabilities we reported, ... Java support in the Internet Zone even after applying the patch gives the ... possibility for a malicious Java Applet to gain control over the system. ... Our original report and information regarding the remaining Java ...
    (NT-Bugtraq)
  • Technical information about the vulnerabilities fixed by MS-02-52
    ... The patch doesn't fix all of the vulnerabilities we reported, ... Java support in the Internet Zone even after applying the patch gives the ... possibility for a malicious Java Applet to gain control over the system. ... Our original report and information regarding the remaining Java ...
    (Bugtraq)
  • [Full-Disclosure] Technical information about the vulnerabilities fixed by MS-02-52
    ... The patch doesn't fix all of the vulnerabilities we reported, ... Java support in the Internet Zone even after applying the patch gives the ... possibility for a malicious Java Applet to gain control over the system. ... Our original report and information regarding the remaining Java ...
    (Full-Disclosure)
  • Re: Java Question
    ... if the anfy applet works for you then I don't know why the game ... I'm a little unclear about part of your instructions to go to my Java ... message that I need to download and install Macromedia Flash Player (which I ...
    (microsoft.public.windowsxp.general)