« Return to Thread: Scene Graph Demo Convert to JRuby Problem

Re: Scene Graph Demo Convert to JRuby Problem

by paulfras :: Rate this Message:

Reply to Author | View in Thread

Charles Oliver Nutter wrote:

>
> Gah, previous mail sent too soon.
>
> In the latter case it looks like it worked exactly like it's supposed
> to; it was able to receive the AffineTransform class correctly. That
> exception is coming out of Sun's library, not out of JRuby...
>
> Perhaps that method is not supposed to take a Class?
>
> - Charlie
>
The only problem here is that the java version works :-(      
So, possibly static has something to do with it!
Ah Ha,   Ask the question again, how should the following be coded in
JRuby?  :-)

 static {
    Composer.register(AffineTransform.class, TransformComposer.class);
   }


Paul

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


 « Return to Thread: Scene Graph Demo Convert to JRuby Problem