The biggest mistake you’re making is following the tutorial, which is based on the JavaFX Preview Release. Sorry that’s still out of date, but Steve is working on updating it for JavaFX (and WidgetFX) 1.0 right now. Until that’s available you probably should look at the source of one of the existing sample widgets.
You wanna do something like this (stripped out from slideshow):
var myWidget:Widget = Widget {
launchHref: "myWidget.jnlp";
width: 320 // or whatever
height: 240
configuration: Configuration {
properties: [
]
scene: Scene {
// config dialog
}
}
skin: Skin {
scene: Group {
content: [
// your widget content here
]
}
}
}
-Keith
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "WidgetFX Users" group.
To post to this group, send email to widgetf...@googlegroups.com
To unsubscribe from this group, send email to widgetfx-user...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/widgetfx-users?hl=en
-~----------~----~----~----~------~----~------~--~---