Re: [NTLK] newtontalk Digest V2 #194

From: Sean Luke (sean_at_cs.gmu.edu)
Date: Wed Mar 06 2002 - 17:21:37 EST


On Wednesday, March 6, 2002, at 04:38 PM, newtontalk_at_newtontalk.net
wrote:

> This is a dumb question. So please, before flaming me
> skip on to the next posting.

There are no dumb Waba questions.

> Is there any way to create Waba applets directly on
> the newton?

No. To do that, you'd need to have a Java bytecode compiler
like javac or jikes. We don't have that available on the Newton.
You'll need to compile your Java code on your Mac/PC and then
convert it to a Waba package.

> I have java, and jCreate (a very nice demo
> editor) but am having exegen and warp issues. I can
> compile files alright, but converting the applet to a
> newton package is frustratingly difficult (no I have
> not yet figured it out).

That's what you gotta do. It may be a dumb question on my part, but are
you
using the Waba libraries? You have to get your Java code into Waba-style
Java (don't use the AWT, for example, use waba.ui.* and waba.fx.*
classes).
And don't use doubles or longs or threads or exceptions. If your code is
compiling against the Waba libraries, the converters should be happy
with it.

> Anyway if there is a way for waba to interpret java
> directly on the newt I would really like to know. I
> expect the answer is no, but I am such a newbie I want
> to believe otherwise.

If by this you mean to do the equivalent of BeanShell (type raw Java
code in
and it runs) the answer is, that'd be really cool! But no, it's not
available.

Sean

-- 
Have you checked the FAQ lately? http://www.guns-media.com/mirrors/newton/faq/
This is the NewtonTalk mailing list - http://www.newtontalk.net
To unsubscribe/manage: visit the above link. Questions: victor_at_newtontalk.net



This archive was generated by hypermail 2.1.2 : Tue Apr 02 2002 - 14:02:18 EST