Search the web
Sign In
New User? Sign Up
jurtle-users · Jurtle Users
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Real people. Real stories. See how Yahoo! Groups impacts members worldwide.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
BouncingBalls Example Question   Message List  
Reply | Forward Message #104 of 119 |
Re: [jurtle-users] BouncingBalls Example Question

You cannot run any of the Turtle subclasses outside of Jurtle.
Jurtle sets up the appropriate display area that Turtles require.

In theory I could extract the necessary classes for Turtles and
package them in a standalone jar. Then running a Turtle would open a
JFrame with just the Display area. However, this change is not high
on my priority list. If others request it, I will consider doing it
in a future release.


On Jul 13, 2005, at 12:19 PM, chander2010 wrote:

> Is there a way to run the BouncingBalls example from the command
> line? When I try to run the example and include the Jurtle.jar file
> in the classpath I get a NullPointerException. I would like to
> reapply this concept to launch my own graphic program. Is there some
> kind of Graphics or Component layouts that I need to setup before
> instantiating the BouncingBalls object?
>
> Exception in thread "main" java.lang.NullPointerException
> at com.otherwise.jurtle.Turtle.<init>(SourceFile:77)
> at BouncingBalls.<init>(BouncingBalls.java:22)
> at BouncingBalls.main(BouncingBalls.java:70)

--
Bill Tschumy
Otherwise -- Austin, TX
http://www.otherwise.com





Wed Jul 13, 2005 5:50 pm

btschumy
Offline Offline
Send Email Send Email

Forward
Message #104 of 119 |
Expand Messages Author Sort by Date

Is there a way to run the BouncingBalls example from the command line? When I try to run the example and include the Jurtle.jar file in the classpath I get a...
chander2010
Offline Send Email
Jul 13, 2005
5:19 pm

You cannot run any of the Turtle subclasses outside of Jurtle. Jurtle sets up the appropriate display area that Turtles require. In theory I could extract the...
Bill Tschumy
btschumy
Offline Send Email
Jul 13, 2005
5:51 pm
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help