Go to Post Sometimes, you just have to beat something (someone?) into submission. Yes, you can use your head, but its a lot easier with a hammer. - Andy A. [more]
Home
Go Back   Chief Delphi > Technical > Programming > Java
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #14   Spotlight this post!  
Unread 23-06-2014, 15:53
LFRobotics's Avatar
LFRobotics LFRobotics is offline
Registered User
FRC #4623
 
Join Date: Jan 2014
Location: Little Falls, MN
Posts: 95
LFRobotics is on a distinguished road
Re: Xbox Controller

Ok AWESOME - now this may seem like a dumb question to you but im a beginner programmer so here it is

How exactly do I extend the Joystick class - I tried it like this:

Code:
public class XBox extends Joystick {
}
but Netbeans doesn't like that

When you say

Quote:
include a single parameter constructor that calls the Joystick constructor
do you want that in the class and would that just look like

Quote:
Joystick stick = new Joystick();
THANKS for all your help!
Reply With Quote
 


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 12:24.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi