From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-0.3 required=5.0 tests=BAYES_00, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 107e1d,8fb91e7678170c63 X-Google-Attributes: gid107e1d,public X-Google-Thread: 103376,8fb91e7678170c63 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-06-05 08:25:13 PST Path: archiver1.google.com!news2.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsxfer3.itd.umich.edu!jobone!dailyplanet.srl.ford.com!eccws12.dearborn.ford.com!not-for-mail From: John Kern Newsgroups: comp.lang.ada,fr.comp.lang.ada Subject: Re: ada->java bytecode compilation errors Date: Wed, 05 Jun 2002 10:53:41 -0400 Organization: Visteon Coropration Message-ID: <3CFE25F5.22129E0E@NOSPAM.visteon.com> References: <3cfca5ac$1@news.swissonline.ch> Reply-To: jkern3@NOSPAM.visteon.com NNTP-Posting-Host: 19.51.198.11 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Mailer: Mozilla 4.79 [en]C-c32f404p (WinNT; U) X-Accept-Language: en, en-GB, de, fr, ja, ko, zh Xref: archiver1.google.com comp.lang.ada:25364 fr.comp.lang.ada:1647 Date: 2002-06-05T10:53:41-04:00 List-Id: 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.