Message: 1
Date: Sat, 2 Apr 2016 03:39:41 -0700 (MST)
From: leledumbo <leledumbo_c...@yahoo.co.id>
To: fpc-pascal@lists.freepascal.org
Subject: Re: [fpc-pascal] Write Applet with FPC JVM
Message-ID: <1459593581645-5724733.p...@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.


/Ingemar

_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to