Re: Eu To Java?

new topic     » goto parent     » topic index » view thread      » older message » newer message

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

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu