View Single Post
  #5   Spotlight this post!  
Unread 02-02-2012, 19:09
Hjelstrom's Avatar
Hjelstrom Hjelstrom is offline
Mentor
FRC #0987 (High Rollers)
Team Role: Mentor
 
Join Date: Mar 2008
Rookie Year: 2005
Location: Las Vegas
Posts: 146
Hjelstrom has a reputation beyond reputeHjelstrom has a reputation beyond reputeHjelstrom has a reputation beyond reputeHjelstrom has a reputation beyond reputeHjelstrom has a reputation beyond reputeHjelstrom has a reputation beyond reputeHjelstrom has a reputation beyond reputeHjelstrom has a reputation beyond reputeHjelstrom has a reputation beyond reputeHjelstrom has a reputation beyond reputeHjelstrom has a reputation beyond repute
Re: SmartDashboard custom Widgets not appearing...

Quote:
Our Jar is .\extensions\3181SmartWidgets.jar, and it's obviously searching the Jar, and it's obviously finding the class (which is also an effective copy-paste from the tutorial) however it's not showing up in the menu!
Ok, I don't know if this will help but we struggled a bit with this the other day too. Here are some thoughts:

Does your custom widget inherit from "Widget" or "StaticWidget"? The only ones that show up in the menu are "StaticWidgets". To use "Widgets", have your robot send some data, then convert the widget that is automatically created into yours.

It took us a few trys to figure out where to put the extension JAR file but it looks like you've got that solved.

We were initially using NetBeans 7.1. JAR files we created with it did not work for us with the SmartDashboard. The docs say to use 6.9 but it was hard to find it on the NetBeans site.

Even though we had some hurdles to overcome, we're extremely happy with the SmartDashboard. It is terrific.