comp.lang.ada
 help / color / mirror / Atom feed
From: John Kern <jkern3@NOSPAM.visteon.com>
Subject: Re: ada->java bytecode compilation errors
Date: Wed, 05 Jun 2002 10:53:41 -0400
Date: 2002-06-05T10:53:41-04:00	[thread overview]
Message-ID: <3CFE25F5.22129E0E@NOSPAM.visteon.com> (raw)
In-Reply-To: 3cfca5ac$1@news.swissonline.ch



Frenk wrote:
> 


> But i need it to be an applet. so i compile as an applet, i build and here i
> get the errors.
> 

What did you mean when you say "compile as an applet"?  Does that mean
you changed the source code to include something like:

with Java.Applet.Applet;

...

type Typ is new Java.Applet.Applet.Typ with ....


Your program has to be changed such that it inherits a bunch of "applet
making stuff" from the Java-API before it knows how to behave in a
browser (or appletviewer.)

You need to study the examples which are applets, (hello is not).

Hope this helps.



  reply	other threads:[~2002-06-05 14:53 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-06-04 11:34 ada->java bytecode compilation errors Frenk
2002-06-05 14:53 ` John Kern [this message]
2002-06-05 15:40   ` Frenk
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox