[fpc-pascal] Write Applet with FPC JVM

leledumbo leledumbo_cool at yahoo.co.id
Sat Apr 2 12:39:41 CEST 2016


> 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.



--
View this message in context: http://free-pascal-general.1045716.n5.nabble.com/Write-Applet-with-FPC-JVM-tp5724727p5724733.html
Sent from the Free Pascal - General mailing list archive at Nabble.com.



More information about the fpc-pascal mailing list