Re: Eu To Java?
- Posted by Mike The Spike <mtsreborn at yahoo.com> Feb 02, 2001
- 417 views
Thanks man! That's a good sollution to my problem. Maybe you should include a 'how to' with the translator package? 'How to create a Java applet using EJ' or 'How to wrap Java functions to Euphoria' or something like that. Would be cool. Mike The Spike --- David Cuny <dcuny at LANSET.COM> wrote: > MTS wrote: > > > So David, Java is so great because you can plug > any > > Java app into your web page and your browser will > > execute it. > > Change line 2570 from: > > printf( handle, "class %s {\n", {class} ) > > to: > > printf( handle, "import java.applet.Applet\n\n", > {} ) > printf( handle, "public class %s extends Applet > {\n", {class} ) > > Instant Java applet. > > As for missing functionality, it's easy enough to > interface the code to > Java. Take a look at EJ.TXT for a description of the > conversion routines. > For example, WIN32LIB.EW creates an interfaces ej to > Swing. You can write > your own wrappers to Java routines in a similar > manner. > > -- David Cuny > >