View Single Post
  #5   Spotlight this post!  
Unread 07-02-2012, 17:14
yBother yBother is offline
Registered User
FRC #2198
 
Join Date: Feb 2012
Location: Toronto
Posts: 3
yBother is an unknown quantity at this point
Re: Jaguar Programming with NetBeans

Quote:
Originally Posted by severhale View Post
The fact that you're not getting any errors means that testJoystick is declared, but does it have a value? Are you saying
testJoystick = new Joystick(portNumber);
If you're not, you'd be getting a null pointer exception in the console.
It is declared as testJoystick = new Joystick (1);

Is there anything else we need to do?
Reply With Quote