Re: [fpc-pascal] Write Applet with FPC JVM

2016-04-03 Thread Ingemar Ragnemalm
Message: 1 Date: Sat, 2 Apr 2016 03:39:41 -0700 (MST) From: leledumbo 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 a

Re: [fpc-pascal] Write Applet with FPC JVM

2016-04-02 Thread leledumbo
> It compiles with both Java and FPC, but the FPC version doesn't run. Works fine here: fpc-helloworld-applet.png > Any ideas? Any obvious mistakes of mine? I change your program to a unit, though I do

[fpc-pascal] Write Applet with FPC JVM

2016-04-01 Thread Ingemar Ragnemalm
Hello, FPC list! Is there anyone who knows how to write a JVM applet with FPC? I have this minimal Java applet: import java.applet.*; import java.awt.*; public class HelloWorldApplet extends Applet { public void paint (Graphics g) { g.drawString ("Hello World", 25, 50); }