Getting started with WidgetFX

2 views
Skip to first unread message

Ken Orr

unread,
Mar 2, 2009, 7:15:14 AM3/2/09
to WidgetFX Developers
I'm trying to create a simple widget. When I run the widget from
NetBeans as a WebStart app, I end up seeing a dialog to "Add Widget",
which looks like a stock WidgetFX dialog.

Why don't I see my widget? How do I build and run my simple widget
from within NetBeans?

Thanks,
-Ken

Stephen Chin

unread,
Mar 3, 2009, 6:15:00 AM3/3/09
to widget...@googlegroups.com
Ken,

Thanks for reporting this!

I looked into this and it turns out to be a bug we accidentally
introduced in the 1.1 release.

I have checked in a bugfix, but for now the workaround is to set the
launchHref variable to the name of your jnlp file like this:
Clock extends Widget {
launchHref: "Clock.jnlp"
}

Keith: Can you roll a patch for this fix? The fix is in:
widgetfx\api\src\org\widgetfx\Widget.fx. Technically we only require an
SDK push, but we might as well update the web start version too.

Cheers,
--Steve

> --~--~---------~--~----~------------~-------~--~----~
> WidgetFX Developers Group: http://groups.google.com/group/widgetfx-dev?hl=en?hl=en
> -~----------~----~----~----~------~----~------~--~---
>
>

--
--Steve
blog: http://steveonjava.com/

Ken Orr

unread,
Mar 3, 2009, 8:49:17 AM3/3/09
to widget...@googlegroups.com
Great...thanks Steve!

On Tue, Mar 3, 2009 at 6:15 AM, Stephen Chin <st...@widgetfx.org> wrote:
Ken,

Thanks for reporting this!

I looked into this and it turns out to be a bug we accidentally introduced in the 1.1 release.

I have checked in a bugfix, but for now the workaround is to set the launchHref variable to the name of your jnlp file like this:
Clock extends Widget {
   launchHref: "Clock.jnlp"
}

Keith: Can you roll a patch for this fix?  The fix is in: widgetfx\api\src\org\widgetfx\Widget.fx.  Technically we only require an SDK push, but we might as well update the web start version too.

Cheers,
--Steve


On 3/2/2009 4:15 AM, Ken Orr wrote:
I'm trying to create a simple widget. When I run the widget from
NetBeans as a WebStart app, I end up seeing a dialog to "Add Widget",
which looks like a stock WidgetFX dialog.

Why don't I see my widget? How do I build and run my simple widget
from within NetBeans?

Thanks,
-Ken


 

Keith

unread,
Mar 16, 2009, 1:12:47 AM3/16/09
to WidgetFX Developers
I finally got a chance to push out the 1.1.1 update, so you can grab
the new sdk now.
> > blog:http://steveonjava.com/- Hide quoted text -
>
> - Show quoted text -
Reply all
Reply to author
Forward
0 new messages