<?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>sellmic.com &#187; javafx</title>
	<atom:link href="http://sellmic.com/blog/category/javafx/feed/" rel="self" type="application/rss+xml" />
	<link>http://sellmic.com/blog</link>
	<description>Augusto's corner of art, code and fun</description>
	<lastBuildDate>Sun, 24 Jul 2011 06:25:47 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
		<item>
		<title>Goodbye JavaFX Script, hello JavaFX 2.0</title>
		<link>http://sellmic.com/blog/2010/09/21/goodbye-javafx-script-hello-javafx-2-0/</link>
		<comments>http://sellmic.com/blog/2010/09/21/goodbye-javafx-script-hello-javafx-2-0/#comments</comments>
		<pubDate>Tue, 21 Sep 2010 06:19:01 +0000</pubDate>
		<dc:creator>Augusto</dc:creator>
				<category><![CDATA[Java]]></category>
		<category><![CDATA[Software Development]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[javafx]]></category>

		<guid isPermaLink="false">http://sellmic.com/blog/?p=415</guid>
		<description><![CDATA[<div class="addthis_toolbox addthis_default_style" addthis:url='http://sellmic.com/blog/2010/09/21/goodbye-javafx-script-hello-javafx-2-0/' addthis:title='Goodbye JavaFX Script, hello JavaFX 2.0' ><a class="addthis_button_facebook_like"></a><a class="addthis_button_tweet"></a><a class="addthis_button_google_plusone"></a><a class="addthis_button_compact"></a></div>JavaFX Script is officially dead. Oracle has decided to continue investing in JavaFX as the UI platform for Java client applications, but at the same time they&#8217;ve realized that the JavaFX Script language was probably a limiting factor in the general adoption of their RIA technology. History On November 8, 2006, Sun engineer Chris Oliver [...]<div class="addthis_toolbox addthis_default_style addthis_32x32_style" addthis:url='http://sellmic.com/blog/2010/09/21/goodbye-javafx-script-hello-javafx-2-0/' addthis:title='Goodbye JavaFX Script, hello JavaFX 2.0 ' ><a class="addthis_button_preferred_1"></a><a class="addthis_button_preferred_2"></a><a class="addthis_button_preferred_3"></a><a class="addthis_button_preferred_4"></a><a class="addthis_button_compact"></a></div>]]></description>
			<content:encoded><![CDATA[<div class="addthis_toolbox addthis_default_style" addthis:url='http://sellmic.com/blog/2010/09/21/goodbye-javafx-script-hello-javafx-2-0/' addthis:title='Goodbye JavaFX Script, hello JavaFX 2.0' ><a class="addthis_button_facebook_like"></a><a class="addthis_button_tweet"></a><a class="addthis_button_google_plusone"></a><a class="addthis_button_compact"></a></div><p><img class="alignnone size-full wp-image-417" title="Goodbye JavaFX Script, we hardly knew ye" src="http://sellmic.com/blog/wp-content/uploads/2010/09/goodbye_javafx_script1.jpg" alt="Goodbye JavaFX Script, we hardly knew ye" width="589" height="340" /></p>
<p><a href="http://en.wikipedia.org/wiki/JavaFX_Script">JavaFX Script</a> is <a href="http://www.dzone.com/links/r/oracle_to_discontinue_javafx_script_will_use_java.html">officially dead</a>.</p>
<p>Oracle has decided to continue investing in JavaFX as the UI platform for Java client applications, but at the same time they&#8217;ve realized that the JavaFX Script language was probably a limiting factor in the general adoption of their RIA technology.</p>
<p><strong>History</strong></p>
<p>On November 8, 2006, Sun engineer Chris Oliver published an <a href="http://blogs.sun.com/chrisoliver/entry/f3">entry in his blog</a> introducing a project he had been working on called &#8220;F3&#8243;. His <a href="http://blogs.sun.com/chrisoliver/entry/f3">blog entry</a> explained the general concepts behind the project;</p>
<blockquote><p>My name is Chris Oliver. I came to Sun through their acquisition of Seebeyond in September 2005. I&#8217;d like to present something about my current work – it’s not public yet but it should be open-sourced on java.net shortly.</p>
<p>My project is called F3 which stands for “Form follows function”, and its purpose was to explore making GUI programming easier in general.</p>
<p>F3 is actually a declarative Java scripting language with static typing for good IDE support and compile-time error reporting (unlike JavaScript&#8230;), type-inference, declarative syntax, and automatic data-binding with full support for 2d graphics and standard Swing components as well as declarative animation. You can also import java classes, create new Java objects, call their methods, and implement Java interfaces.</p></blockquote>
<p>Chris&#8217; first blog post on F3 introduced code snippets showing off the main features of the language, and a <a href="http://blogs.sun.com/chrisoliver/entry/more_f3_demos">follow up post had a set of very impressive demos</a> meant to show off the language and how it could compete with other RIA technologies like Flash.</p>
<p>At <a href="http://sellmic.com/blog/2007/05/08/javafx/">JavaOne 2007 F3 was rebranded as JavaFX Script</a>, and we were shown some cool demos, like this <a href="http://sellmic.com/blog/2007/05/11/javafx-pdf-viewer-demo/">JavaFX PDF Reader</a> which unfortunately was never released.</p>
<p><a href="http://sellmic.com/blog/2008/12/04/javafx-is-here/"> JavaFX 1.0 was released on December, 2008</a>.</p>
<p>At JavaOne 2009,<a href="http://sellmic.com/blog/2009/06/05/javafx-authoring-tool-demo-at-javaone-2009-with-video/"> Sun showed off a much needed JavaFX designer tool</a>. The demo showed how the tool would allow for visual design of JavaFX applications on different &#8220;screens&#8221; (desktop, mobile, TV, etc.). This tool hasn&#8217;t been released to the public, instead there&#8217;s a more developer oriented Netbeans plugin with Matisse like UI design capabilities that was released a while ago.</p>
<p><strong>But it&#8217;s not Java</strong></p>
<p>The complaint I would often hear from developers when talking about JavaFX is that it was not Java. Unlike Java, F3 was designed from the beginning with UIs in mind. Chris Oliver wanted the flexibility of a declarative language, and decided that XML was not the best fit for this, thus the need for the F3 language.</p>
<p>The problem was that the new language was very different from Java. <a href="http://sellmic.com/blog/2008/05/18/my-javafx-presentation-at-panamajug-2007-javafx-en-espanol/">I remember doing a JavaFX Script presentation for a JUG in Panama</a>, and even after having written a few programs in it, the context switch between it and Java was quite big for me.</p>
<p>At the last JavaOne I attended, I could overhear a lot of people rejecting the idea of learning yet another new language just to do a Java based UI. Not only a new language, but one that was so different from what they were used to. People often forget that one of the reasons Java dominates the development landscape today is because it was so similar to it&#8217;s predecessors; C and C++. While the benefits of a new UI focused language are many (the binding features alone in JavaFX Script are a good example), one thing that I&#8217;ve noticed is that modern UIs are being done in less exotic ways; just take a look at the UI framework in Android which is Java language based and on iPhone which uses Objective C.</p>
<p><strong>JavaFX technology in Java, and other languages</strong></p>
<p>Oracle has published the proposed <a href="http://javafx.com/roadmap/">roadmap for JavaFX 2.0</a>. The key standout feature listed there is <em>&#8220;Port JavaFX Script APIs to Java&#8221;</em>, which will make JavaFX not only easily available to Java developers but to those who use other dynamic languages like Scale, JRuby, Groovy, Javascript, etc. The roadmap also mentions<a href="http://openjdk.java.net/projects/lambda/"> support for lambda expressions (closures)</a>, which I can already see being very useful for UI programming.</p>
<p>There are other notable features listed there, like additional UI controls, web views and integration with HTML5, HD playback, etc. The roadmap mentions the binding API, I&#8217;m curious to see how it would be integrated in the core Java language.</p>
<p>I think Oracle has made the right move here, the JavaFX stack is already pretty advanced and shows a lot of promise. It should be used more, but was being hindered by the lack of adoption of JavaFX Script. Porting these APIs to Java, and supporting other dynamic languages should allow a lot more developers to leverage the power of JavaFX.</p>
<p>Sorry for the long post, but I wanted to include a bit of history at the beginning about F3. I wonder how Chris Oliver and the other engineers that worked so hard on the core JavaFX Script language feel about this development. Hopefully they feel pretty proud about their work, because even though the language is being dropped, it seems the core of JavaFX is pretty strong. Adoption should grow now that there is no &#8220;new language&#8221; excuse.</p>
<p>At least that&#8217;s what I&#8217;m hoping for.</p>
<div class="addthis_toolbox addthis_default_style addthis_32x32_style" addthis:url='http://sellmic.com/blog/2010/09/21/goodbye-javafx-script-hello-javafx-2-0/' addthis:title='Goodbye JavaFX Script, hello JavaFX 2.0 ' ><a class="addthis_button_preferred_1"></a><a class="addthis_button_preferred_2"></a><a class="addthis_button_preferred_3"></a><a class="addthis_button_preferred_4"></a><a class="addthis_button_compact"></a></div>]]></content:encoded>
			<wfw:commentRss>http://sellmic.com/blog/2010/09/21/goodbye-javafx-script-hello-javafx-2-0/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>New screenshots of the JavaFX Design Tool</title>
		<link>http://sellmic.com/blog/2009/06/13/new-screenshots-of-the-javafx-design-tool/</link>
		<comments>http://sellmic.com/blog/2009/06/13/new-screenshots-of-the-javafx-design-tool/#comments</comments>
		<pubDate>Sat, 13 Jun 2009 07:06:50 +0000</pubDate>
		<dc:creator>Augusto</dc:creator>
				<category><![CDATA[Java]]></category>
		<category><![CDATA[User Interface]]></category>
		<category><![CDATA[javafx]]></category>
		<category><![CDATA[authoring tool]]></category>
		<category><![CDATA[design tool]]></category>

		<guid isPermaLink="false">http://sellmic.com/blog/?p=378</guid>
		<description><![CDATA[<div class="addthis_toolbox addthis_default_style" addthis:url='http://sellmic.com/blog/2009/06/13/new-screenshots-of-the-javafx-design-tool/' addthis:title='New screenshots of the JavaFX Design Tool' ><a class="addthis_button_facebook_like"></a><a class="addthis_button_tweet"></a><a class="addthis_button_google_plusone"></a><a class="addthis_button_compact"></a></div>The screenshot above is from Anthony Rogers&#8217; blog (UI designer for the tool), and the next one is from Chris Oliver&#8217;s blog, who successfully managed to hide away from most of the geek crowds at JavaOne. The design of the tool is looking really nice and clean, the timeline reminds me a bit of the [...]<div class="addthis_toolbox addthis_default_style addthis_32x32_style" addthis:url='http://sellmic.com/blog/2009/06/13/new-screenshots-of-the-javafx-design-tool/' addthis:title='New screenshots of the JavaFX Design Tool ' ><a class="addthis_button_preferred_1"></a><a class="addthis_button_preferred_2"></a><a class="addthis_button_preferred_3"></a><a class="addthis_button_preferred_4"></a><a class="addthis_button_compact"></a></div>]]></description>
			<content:encoded><![CDATA[<div class="addthis_toolbox addthis_default_style" addthis:url='http://sellmic.com/blog/2009/06/13/new-screenshots-of-the-javafx-design-tool/' addthis:title='New screenshots of the JavaFX Design Tool' ><a class="addthis_button_facebook_like"></a><a class="addthis_button_tweet"></a><a class="addthis_button_google_plusone"></a><a class="addthis_button_compact"></a></div><p style="text-align: center;"><a href="http://blogs.sun.com/ant/entry/tool"><img class="aligncenter size-full wp-image-380" title="JavaFX Design/Authoring tool" src="http://sellmic.com/blog/wp-content/uploads/2009/06/jfx_design_tool_preview2.jpg" alt="jfx_design_tool_preview2" width="589" height="331" /></a></p>
<p>The screenshot above is from <a href="http://blogs.sun.com/ant/entry/tool">Anthony Rogers&#8217; blog</a> (UI designer for the tool), and the next one is from <a href="http://blogs.sun.com/chrisoliver/entry/javafx_design_tool">Chris Oliver&#8217;s blog</a>, who successfully managed to hide away from most of the geek crowds at JavaOne.</p>
<p style="text-align: center;"><a href="http://blogs.sun.com/chrisoliver/entry/javafx_design_tool"><img class="aligncenter size-full wp-image-379" title="Timeline Design" src="http://sellmic.com/blog/wp-content/uploads/2009/06/jfx_design_tool_preview1.jpg" alt="jfx_design_tool_preview1" width="589" height="333" /></a></p>
<p>The design of the tool is looking really nice and clean, the timeline reminds me a bit of the <a href="http://filmmakingcentral.com/fmc2/wp-content/uploads/2008/12/premui1.jpg">Adobe Premiere CS4 one</a>. But unlike Premiere or Flash CS4, one interesting design choice is the lack of row headers to identify the different elements or categories for the rows in the timeline. This makes it look a bit cleaner and less cluttered, but it would be interesting to see if this doesn&#8217;t make it more difficult to track just what it is you are supposed to be controlling in that part of the timeline. Hard to tell without trying the tool of course (<em>hint, hint, Sun &#8230; available for alpha/beta testing!</em>).</p>
<p>I haven&#8217;t seen a single bit of code in any of the screenshots/demos so far. I wouldn&#8217;t be surprised that there was some script text area somewhere, or maybe the expectation is that for code you go to a tool like Netbeans?</p>
<p>Tor Norbye also <a href="http://blogs.sun.com/tor/entry/finally_over#comment-1244675162000">provides some additional information</a> about the tool, it will be available as a webstart application that will let you save data in the &#8220;cloud&#8221; (like Google Docs) or locally, as well as run the tool online/offline.</p>
<p>Chris calls it the JavaFX Design tool, others the JavaFX Authoring tool, for sure neither of these is the final name for the product but I&#8217;m still a bit surprised it doesn&#8217;t seem to have any sort of funky codename at this point.</p>
<p>You can watch some short videos of the tool in action <a href="http://sellmic.com/blog/2009/06/05/javafx-authoring-tool-demo-at-javaone-2009-with-video/">here</a>.</p>
<div class="addthis_toolbox addthis_default_style addthis_32x32_style" addthis:url='http://sellmic.com/blog/2009/06/13/new-screenshots-of-the-javafx-design-tool/' addthis:title='New screenshots of the JavaFX Design Tool ' ><a class="addthis_button_preferred_1"></a><a class="addthis_button_preferred_2"></a><a class="addthis_button_preferred_3"></a><a class="addthis_button_preferred_4"></a><a class="addthis_button_compact"></a></div>]]></content:encoded>
			<wfw:commentRss>http://sellmic.com/blog/2009/06/13/new-screenshots-of-the-javafx-design-tool/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>JavaFX Authoring tool demo at JavaOne 2009 (with video) &#8211; updated</title>
		<link>http://sellmic.com/blog/2009/06/05/javafx-authoring-tool-demo-at-javaone-2009-with-video/</link>
		<comments>http://sellmic.com/blog/2009/06/05/javafx-authoring-tool-demo-at-javaone-2009-with-video/#comments</comments>
		<pubDate>Fri, 05 Jun 2009 20:14:50 +0000</pubDate>
		<dc:creator>Augusto</dc:creator>
				<category><![CDATA[Java]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[javafx]]></category>
		<category><![CDATA[authoring tool]]></category>
		<category><![CDATA[design tool]]></category>

		<guid isPermaLink="false">http://sellmic.com/blog/?p=257</guid>
		<description><![CDATA[<div class="addthis_toolbox addthis_default_style" addthis:url='http://sellmic.com/blog/2009/06/05/javafx-authoring-tool-demo-at-javaone-2009-with-video/' addthis:title='JavaFX Authoring tool demo at JavaOne 2009 (with video) &#8211; updated' ><a class="addthis_button_facebook_like"></a><a class="addthis_button_tweet"></a><a class="addthis_button_google_plusone"></a><a class="addthis_button_compact"></a></div>During this morning&#8217;s JavaOne general session, the &#8220;James Gosling&#8217;s Toy Show&#8221;, Tor Norbye gave another preview of the &#8220;JavaFX Authoring Tool&#8221; (TODO: Needs a cool codename!!!). In 2007 when I blogged about the original JavaFX announcement at that year&#8217;s JavaOne, one of my first questions was about the tooling. At first we basically just had [...]<div class="addthis_toolbox addthis_default_style addthis_32x32_style" addthis:url='http://sellmic.com/blog/2009/06/05/javafx-authoring-tool-demo-at-javaone-2009-with-video/' addthis:title='JavaFX Authoring tool demo at JavaOne 2009 (with video) &#8211; updated ' ><a class="addthis_button_preferred_1"></a><a class="addthis_button_preferred_2"></a><a class="addthis_button_preferred_3"></a><a class="addthis_button_preferred_4"></a><a class="addthis_button_compact"></a></div>]]></description>
			<content:encoded><![CDATA[<div class="addthis_toolbox addthis_default_style" addthis:url='http://sellmic.com/blog/2009/06/05/javafx-authoring-tool-demo-at-javaone-2009-with-video/' addthis:title='JavaFX Authoring tool demo at JavaOne 2009 (with video) &#8211; updated' ><a class="addthis_button_facebook_like"></a><a class="addthis_button_tweet"></a><a class="addthis_button_google_plusone"></a><a class="addthis_button_compact"></a></div><p style="text-align: center;"><img class="aligncenter size-full wp-image-272" title="javafx_authoring_tool" src="http://sellmic.com/blog/wp-content/uploads/2009/06/javafx_authoring_tool.jpg" alt="javafx_authoring_tool" width="450" height="259" /></p>
<p>During this morning&#8217;s JavaOne general session, the &#8220;James Gosling&#8217;s Toy Show&#8221;, Tor Norbye gave another preview of the &#8220;JavaFX Authoring Tool&#8221; (TODO: Needs a cool codename!!!).</p>
<p>In 2007 when I blogged about <a href="http://sellmic.com/blog/2007/05/08/javafx/">the original JavaFX announcement at that year&#8217;s JavaOne</a>, one of my first questions was about the tooling. At first we basically just had JFXPad to play around, then came more integration with Netbeans. However, these are not designer tools, and a RIA application needs more access points of people who are not software developers. This was partially answered with the JavaFX plugins for tools like Adobe Photoshop and Illustrator, but what was really missing was a visual place to bring content together interactively and created animated content.</p>
<p><span id="more-257"></span></p>
<p><img class="aligncenter size-full wp-image-268" title="timeline" src="http://sellmic.com/blog/wp-content/uploads/2009/06/timeline.jpg" alt="timeline" width="450" height="134" /></p>
<p>So now we see glimpses of the JavaFX authoring environment that Sun plans to release. The tool seems to be in the early stages of development and it is unclear when it will be released. However, some of the features look very compeling and familiar. Like any of the versions of the Adobe Flash tools, it features a timeline with the ability to edit key frames and create animated transitions. It also allows you to drag and drop media and JFX components (including the new 1.2 controls) to compose your app.</p>
<p>The coolest feature is that the tool aims to deliver on the &#8220;multiple screens&#8221; theme of JFX, you can easily output your project for a JFX desktop application, mobile and the plan is to have output for TV applications.</p>
<p>The following videos demonstrate the basics of the tools &#8230;</p>
<p><object width="425" height="344" data="http://www.youtube.com/v/FUHgnUDP6XA&amp;hl=en&amp;fs=1&amp;" type="application/x-shockwave-flash"><param name="allowFullScreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://www.youtube.com/v/FUHgnUDP6XA&amp;hl=en&amp;fs=1&amp;" /><param name="allowfullscreen" value="true" /></object></p>
<p>And this next video features the visual binding feature that allows you to graphically bind properties between target and source objects, with inline display of the properties.</p>
<p><object width="425" height="344" data="http://www.youtube.com/v/5NGDdXdQgU0&amp;hl=en&amp;fs=1&amp;" type="application/x-shockwave-flash"><param name="allowFullScreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://www.youtube.com/v/5NGDdXdQgU0&amp;hl=en&amp;fs=1&amp;" /><param name="allowfullscreen" value="true" /></object></p>
<p>The tool looks nice, but it&#8217;s too early to compare it to any of the equivalent Adobe or Microsoft tools. To me this type of tool is key to adoption, so I wish the team the best of luck and that they hopefully find an effective way to get feedback via previews just do sanity checks on the tool (hint, hint, I wouldn&#8217;t mind preview access <img src='http://sellmic.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p>One final note, I think there&#8217;s a need for a JFXMattise like tool. I don&#8217;t know if this tool is it, I don&#8217;t think so. Basically, maybe a subset of this tool, embedded in Netbeans that allows developer type people to visually compose their JFX applications, with an emphasis on visual UI control and layout composition. As it stands, I think there&#8217;s a big gap there even if this tool is released.</p>
<p><strong>Update 1: </strong>I added another video showing how you can edit &#8220;multiple screens&#8221;. That is, tweak your JFX application in other devices with different resolutions out of a main project. In this case, you can have this full resolution application with several smaller windows targeted for mobile devices. The cool thing is that you can tweak one of the target devices to say have less buttons so it can still be tailored for other platforms.</p>
<p><object width="425" height="344" data="http://www.youtube.com/v/8a988IyTHVU&amp;hl=en&amp;fs=1&amp;" type="application/x-shockwave-flash"><param name="allowFullScreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://www.youtube.com/v/8a988IyTHVU&amp;hl=en&amp;fs=1&amp;" /><param name="allowfullscreen" value="true" /></object></p>
<p>Also Tor has <a href="http://blogs.sun.com/tor/entry/finally_over">posted a blog entry</a> about the tool (which is the current project he&#8217;s working on).</p>
<p><strong>Update 2:</strong> <a href="http://sellmic.com/blog/2009/06/13/new-screenshots-of-the-javafx-design-tool/">New screenshots of the JavaFX Design Tool</a></p>
<div class="addthis_toolbox addthis_default_style addthis_32x32_style" addthis:url='http://sellmic.com/blog/2009/06/05/javafx-authoring-tool-demo-at-javaone-2009-with-video/' addthis:title='JavaFX Authoring tool demo at JavaOne 2009 (with video) &#8211; updated ' ><a class="addthis_button_preferred_1"></a><a class="addthis_button_preferred_2"></a><a class="addthis_button_preferred_3"></a><a class="addthis_button_preferred_4"></a><a class="addthis_button_compact"></a></div>]]></content:encoded>
			<wfw:commentRss>http://sellmic.com/blog/2009/06/05/javafx-authoring-tool-demo-at-javaone-2009-with-video/feed/</wfw:commentRss>
		<slash:comments>19</slash:comments>
		</item>
	</channel>
</rss>

