Quote:
Originally Posted by Johnbot
You need to install http://firstforge.wpi.edu/sf/frs/do/.../frs.installer
And then import everything under
C:\Program Files\SmartDashboard
and
C:\Program Files\SmartDashboard\extensions
and
C:\Program Files\SmartDashboard\extensions\lib
into your Java Class Library (a type of project you can start in Netbeans)
You will want to have your extension class extend WPILaptopCameraExtension.
You will also want to override the method processImage, as sretter has said.
|
Thank you for clearing things up, I have imported the .jar files in these folders but when I try to use the classes in these files I get compile time errors such as: "cannot find symbol symbol: class WPILaptopCameraExtension", although when editing the class the IDE (NetBeans 7.2) doesn't give these errors. I have checked "java sources classpath" multiple times but still the same.