You can make your own class that extends Joystick, and then call the protected super class constructor in your derived class' public constructor. Something like:
Code:
class MyJoystick extends Joystick
{
public MyJoystick(int port)
{
super(port, NUM_AXES, NUM_BUTTONS);
}
}