Skip to main content

Tutorial2 bug

1 reply [Last post]
Anonymous

Tutorial2 cannot be run twice in the same instance of LG3D--LG3D has
to be restarted after Tutorial2 is closed.

The first instance of Tutorial2 creates and registers the "Red Ball
Cursor". Apparently, this persists after Tutorial2 exits and an
exception is thrown when another instance of Tutorial2 is launched.

Right now, I'm trying to decide whether or not the complexity of any
fix in the tutorial would outweight the benefits. Ideas?

William

---------------------------------------------------------------------
To unsubscribe, e-mail: interest-unsubscribe@lg3d.dev.java.net
For additional commands, e-mail: interest-help@lg3d.dev.java.net

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
paulby
Offline
Joined: 2003-06-13
Points: 0

This certainly should be fixed. Rather than throwing an IllegalArgumentException I think we should create a new Exception (maybe CursorExistsException) so the app can respond in a sensible fashion.