<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>JFXperience.com &#187; WidgetFX</title>
	<atom:link href="http://www.jfxperience.com/tag/widgetfx/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.jfxperience.com</link>
	<description>My thoughts on JavaFX, Java, RIA and other stuff …</description>
	<lastBuildDate>Mon, 16 Nov 2009 21:22:12 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>RadioFX Now With SHOUTcast Support!</title>
		<link>http://www.jfxperience.com/2009/11/16/radiofx-now-with-shoutcast-support/</link>
		<comments>http://www.jfxperience.com/2009/11/16/radiofx-now-with-shoutcast-support/#comments</comments>
		<pubDate>Mon, 16 Nov 2009 21:20:07 +0000</pubDate>
		<dc:creator>Yannick</dc:creator>
				<category><![CDATA[JavaFX]]></category>
		<category><![CDATA[RadioFX]]></category>
		<category><![CDATA[WidgetFX]]></category>

		<guid isPermaLink="false">http://www.jfxperience.com/?p=179</guid>
		<description><![CDATA[I just released a new version of the RadioFX widget that is able to play SHOUTcast urls (.pls).
So this should make the collection of radio stations playable through the widget a lot bigger!
Enjoy and if you have a request, don&#8217;t hesitate to contact me!
Yannick
]]></description>
			<content:encoded><![CDATA[<p>I just released a new version of the <a href="http://www.jfxperience.com/widgets">RadioFX</a> widget that is able to play SHOUTcast urls (.pls).<br />
So this should make the collection of radio stations playable through the widget a lot bigger!</p>
<p>Enjoy and if you have a request, don&#8217;t hesitate to contact me!</p>
<p>Yannick</p>
]]></content:encoded>
			<wfw:commentRss>http://www.jfxperience.com/2009/11/16/radiofx-now-with-shoutcast-support/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>WidgetFX Experiences</title>
		<link>http://www.jfxperience.com/2009/09/27/widgetfx-experiences/</link>
		<comments>http://www.jfxperience.com/2009/09/27/widgetfx-experiences/#comments</comments>
		<pubDate>Sun, 27 Sep 2009 13:27:00 +0000</pubDate>
		<dc:creator>Yannick</dc:creator>
				<category><![CDATA[JavaFX]]></category>
		<category><![CDATA[WidgetFX]]></category>

		<guid isPermaLink="false">http://www.jfxperience.com/?p=158</guid>
		<description><![CDATA[After ending 2nd in the WidgetFX contest, I&#8217;d like to share my experiences about using WidgetFX with you.
To be honest, I only created my RadioFX widget one week before the deadline of the contest. I had thought about entering the contest before but I just couldn&#8217;t come up with a good idea for a widget [...]]]></description>
			<content:encoded><![CDATA[<p>After ending 2nd in the WidgetFX contest, I&#8217;d like to share my experiences about using WidgetFX with you.</p>
<p>To be honest, I only created my RadioFX widget one week before the deadline of the contest. I had thought about entering the contest before but I just couldn&#8217;t come up with a good idea for a widget that would be useful for a lot of people and not just me as a developer. But as I was creating another JavaFX application that would be able to display information from a Belgian radiostation&#8217;s webservice, I thought about how easy it would be to have a small application that would allow me to keep all my urls to various webradios in one place and avoid opening a browser for playback. And that&#8217;s when I realized that this would be a good scenario for a widget. So one week before the deadline I started to work on my RadioFX widget during the evenings. This shows that JavaFX allows for pretty fast application development because with little time you can still make cool things!</p>
<p>The features I like most about the WidgetFX framework:</p>
<ul>
<li>How easily it allows you to create a widget and save information.</li>
<li>Sharing your widget with the rest of the world.</li>
<li>It runs on multiple platforms.</li>
</ul>
<p><span id="more-158"></span></p>
<ol>
<li>How easily it allows you to create a widget and save information.</li>
<p>Creating a widget is as easy as initializing a Widget object and returning it from your main javaFX class.</p>
<pre class="java" style="width: 711px; height: 238px;">def widget:Widget = Widget {<br/>
      width: defaultWidth<br/>
      height: defaultHeight<br/>
      aspectRatio: defaultWidth / defaultHeight<br/>
      content: group<br/>
      configuration: config<br/>
      resizable: false<br/>
}<br/>
return widget;</pre>
<p>The content attribute contains the code of the visual part of your widget and you can add any javafx code you like.</p>
<p>The configuration attribute is another great feature: it allows you to store configuration parameters for you widget without having to go through all the trouble of having to save them yourself.</p>
<p>You just have to add the parameters as shown in the following sample and they are automatically saved for when you open the widget the next time.</p>
<pre class="java" style="width: 757px; height: 782px;">var enableFilter:Boolean;<br/>
def config:Configuration=Configuration {<br/>
       properties: [<br/>
             BooleanProperty {<br/>
                    name: "enableSearch"<br/>
                    value: bind enableFilter with inverse<br/>
                    autoSave: true<br/>
             }]<br/>
       scene: Scene { <br/>
             width:180 <br/>
             height: 200 <br/>
             fill: Color.web("#282a1f") <br/>
             content: [ <br/>
                   HBox { <br/>
                         spacing: 10 <br/>
                         content: [ <br/>
                              Text { <br/>
                                   font : Font { name: "Arial" size: 12 } <br/>
                                   fill: Color.WHITE <br/>
                                   content: "Enable filtering" <br/>
                              }, <br/>
                              CheckBox { <br/>
                                   selected: bind enableFilter with inverse <br/>
                              } <br/>
                         ] <br/>
                         layoutX: 30 <br/>
                         layoutY: 50 <br/>
                   } <br/>
             ] <br/>
       } <br/>
}</pre>
<li>Publishing your widget to the public is also easy!</li>
<p>Just do as  you would normally distribute a JavaFX application but instead of providing direct links to your .jnlp file, you wrap it in a special widgetfx link like this:<em><br />
</em></p>
<p><em>&lt;a href=&#8221;http://widgetfx.org/dock/launch.jnlp?arg=http://www.jfxperience.com/repo/radiofxj/RadioFXJ.jnlp&#8221;&gt;&lt;img title=&#8221;WidgetFX Launch Icon&#8221; src=&#8221;http://widgetfx.googlecode.com/svn/site/images/WidgetFX-launch-icon.png&#8221; alt=&#8221;WidgetFX Launch Icon&#8221; width=&#8221;82&#8243; height=&#8221;25&#8243; /&gt;&lt;/a&gt;</em></p>
<p>This will display a nice launch button which will install your widget in the WidgetFX toolbar. If WidgetFX isn&#8217;t installed on your user&#8217;s computer it will even ask to install it (completely automatic) or launch it if it&#8217;s already installed but just not running.</p>
<p>The next step is to announce and share your widget with the rest of the world&#8230; This process is made really easy, just submit it to the <a href="http://widgetfx.org/portal/library" target="_blank">library</a> on the widgetFX site with a little description on what it does and how it works and after it is approved the whole world will be able to enjoy your wonderful creations!</p>
<li>It runs on multiple platforms.</li>
<p>The widgetFX application runs on Windows, Mac OSX and Linux so this means that you no longer need to write separate Windows Vista or Mac OSX widgets. Just write it once in JavaFX and it will work on all three operating systems. This will save you time on development and maintenance.</p>
<p>One critical note needs to be added though: Not all code runs on all OS. For example, in my RadioFX widget, the playing of streaming audio using the standard JavaFX audio components worked fine on Windows but not really stable on OSX and Linux. Therefore I chose to use a java component that worked fine on all three OS. But this is a JavaFX problem and has nothing to do with WidgetFX.</ol>
<p>As you can see, widget development is made easy by widgetFX. I really enjoyed writing my first widget on this cool platform and more will definitely follow!</p>
<p>If you want to try out my RadioFX widget or have a look at the source code, it&#8217;s all available <a href="http://www.jfxperience.com/widgets/" target="_blank">right here</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.jfxperience.com/2009/09/27/widgetfx-experiences/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WidgetFX Contest 2nd Place!</title>
		<link>http://www.jfxperience.com/2009/09/27/widgetfx-contest-2nd-place/</link>
		<comments>http://www.jfxperience.com/2009/09/27/widgetfx-contest-2nd-place/#comments</comments>
		<pubDate>Sun, 27 Sep 2009 11:37:05 +0000</pubDate>
		<dc:creator>Yannick</dc:creator>
				<category><![CDATA[JavaFX]]></category>
		<category><![CDATA[WidgetFX]]></category>

		<guid isPermaLink="false">http://www.jfxperience.com/?p=110</guid>
		<description><![CDATA[I’m proud to announce that I got 2nd in the WidgetFX contest which means I win 3 books from APress.
The widget I submitted was the RadioFX widget about which you can read more on the widget page of this blog.
First I would like to to congratulate the winner Pär Dahlberg on his very cool ScreenshotFX [...]]]></description>
			<content:encoded><![CDATA[<p>I’m proud to announce that I got 2nd in the <a href="http://www.widgetfx.org/" target="_blank">WidgetFX contest</a> which means I win 3 books from <a href="http://apress.com/" target="_blank">APress</a>.<br />
The widget I submitted was the RadioFX widget about which you can read more on <a href="http://www.jfxperience.com/widgets/" target="_blank">the widget page of this blog</a>.</p>
<p>First I would like to to congratulate the winner Pär Dahlberg on his very cool ScreenshotFX widget and Larry Dickson on his Infix WeatherWidget!<br />
You can read all about it in <a href="http://steveonjava.com/2009/09/27/widgetfx-contest-winners/" target="_blank">Stephen Chin&#8217;s post on his blog</a>. I think we all owe a special thanks to Stephen for creating the WidgetFX framework, the contest and all the time and effort he puts into JavaFX through WidgetFX and <a href="http://jfxtras.org/" target="_blank">JFXtras</a>.</p>
<p>Thank you Stephen!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.jfxperience.com/2009/09/27/widgetfx-contest-2nd-place/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>RadioFX Widget</title>
		<link>http://www.jfxperience.com/2009/08/28/radiofx-widget/</link>
		<comments>http://www.jfxperience.com/2009/08/28/radiofx-widget/#comments</comments>
		<pubDate>Fri, 28 Aug 2009 18:27:13 +0000</pubDate>
		<dc:creator>Yannick</dc:creator>
				<category><![CDATA[JavaFX]]></category>
		<category><![CDATA[WidgetFX]]></category>

		<guid isPermaLink="false">http://www.jfxperience.com/?p=95</guid>
		<description><![CDATA[I just uploaded my RadioFX widget to this page, you can find all the info here.
This widget will also be submitted for the WidgetFX contest.
Hope you enjoy it!
]]></description>
			<content:encoded><![CDATA[<p>I just uploaded my RadioFX widget to this page, you can find all the info <a title="here" href="http://www.jfxperience.com/?page_id=79" target="_blank">here</a>.</p>
<p>This widget will also be submitted for the <a title="WidgetFX" href="http://www.widgetfx.org" target="_blank">WidgetFX</a> contest.</p>
<p>Hope you enjoy it!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.jfxperience.com/2009/08/28/radiofx-widget/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
