[fpc-pascal] Write Applet with FPC JVM

Ingemar Ragnemalm ingemar at ragnemalm.se
Sun Apr 3 13:20:47 CEST 2016

> Message: 1
> Date: Sat, 2 Apr 2016 03:39:41 -0700 (MST)
> From: leledumbo <leledumbo_cool at yahoo.co.id>
> To: fpc-pascal at lists.freepascal.org
> Subject: Re: [fpc-pascal] Write Applet with FPC JVM
> Message-ID: <1459593581645-5724733.post at n5.nabble.com>
> Content-Type: text/plain; charset=us-ascii
>> It compiles with both Java and FPC, but the FPC version doesn't run.
> Works fine here:
> fpc-helloworld-applet.png
> <http://free-pascal-general.1045716.n5.nabble.com/file/n5724733/fpc-helloworld-applet.png>
>> Any ideas? Any obvious mistakes of mine?
> I change your program to a unit, though I don't think that matters as long
> as HelloWorldApplet.class is generated. Then I modify your applet tag by
> removing archive attribute as it's not in a .jar but a standalone .class.
> That's it.

Great! I tried and indeed, compiling a unit did it! Editing the HTML 
file didn't seem to matter though.


More information about the fpc-pascal mailing list