Go to Post Life can be painfully short and you never know how things could change in an instant. It never hurts to say thank you. - Karthik [more]
Home
Go Back   Chief Delphi > Technical > Programming
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
  #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: 148
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.
 


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 18:47.

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