<?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>Steve On Java &#187; layouts</title>
	<atom:link href="http://steveonjava.com/tag/layouts/feed/" rel="self" type="application/rss+xml" />
	<link>http://steveonjava.com</link>
	<description>Hacking Java, JavaFX, and Flash with Agility</description>
	<lastBuildDate>Sun, 20 May 2012 16:57:37 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>Building Data Rich Interfaces with JavaFX</title>
		<link>http://javafx.steveonjava.com/building-data-rich-interfaces-with-javafx/</link>
		<comments>http://javafx.steveonjava.com/building-data-rich-interfaces-with-javafx/#comments</comments>
		<pubDate>Wed, 02 Jun 2010 15:19:54 +0000</pubDate>
		<dc:creator>steveonjava</dc:creator>
				<category><![CDATA[JavaFX]]></category>
		<category><![CDATA[JFXtras]]></category>
		<category><![CDATA[Presentation]]></category>
		<category><![CDATA[controls]]></category>
		<category><![CDATA[jazoon]]></category>
		<category><![CDATA[layouts]]></category>

		<guid isPermaLink="false">http://steveonjava.com/?p=1214</guid>
		<description><![CDATA[I had my Jazoon talk this morning on building data rich user interfaces with JavaFX. In an informal poll before the start, it seemed like many of the attendees had not yet tried JavaFX, so hopefully this has encouraged them to give it a spin. I posted the slides from the talk on Slideshare for [...]]]></description>
			<content:encoded><![CDATA[
<div class="topsy_widget_data topsy_theme_blue" style="float: left;margin-right: 0.75em;; margin-top: 4px; background: url(data:,%7B%20%22url%22%3A%20%22http%253A%252F%252Fjavafx.steveonjava.com%252Fbuilding-data-rich-interfaces-with-javafx%252F%22%2C%20%22shorturl%22%3A%20%22http%3A%2F%2Fbit.ly%2F98pCPE%22%2C%20%22style%22%3A%20%22big%22%2C%20%22title%22%3A%20%22Building%20Data%20Rich%20Interfaces%20with%20JavaFX%22%20%7D);"></div>
<!--S-ButtonZ 1.1.5 Start--><div style="float: left; width: 42px; padding-right: 10px; margin: 0 10px 0 0;">
		<script type="text/javascript">
		<!--
		var dzone_url = "http://javafx.steveonjava.com/building-data-rich-interfaces-with-javafx/";
		var dzone_title = "Building Data Rich Interfaces with JavaFX";
		var dzone_style = "1";
		var dzone_blurb = "";
		//-->
		</script>
		<script language="javascript" src="http://widgets.dzone.com/widgets/zoneit.js"></script></div><!--S-ButtonZ 1.1.5 End--><p>I had my Jazoon talk this morning on building data rich user interfaces with JavaFX.  In an informal poll before the start, it seemed like many of the attendees had not yet tried JavaFX, so hopefully this has encouraged them to give it a spin.</p>
<p>I posted the slides from the talk on Slideshare for the benefit of folks who couldn&#8217;t make it out to Zurich this week.  The agenda for the talk was as follows:</p>
<ul>
<li>JavaFX Technology Stack</li>
<li>Data Binding</li>
<li>JavaFX 1.3 Controls</li>
<li>Control Styling</li>
<li>JavaFX 1.3 Layouts</li>
<li>Web Service Integration</li>
<li>JFXtras Data-driven ControlsApropos Demo</li>
</ul>
<p>There is a lot of new information here on CSS styling and layouts in JavaFX 1.3 as well as some pre-announcements on some new bind functionality we are working on in the JFXtras project.  If you are interested in more details, please let me know in the comments section and I can follow up with subsequent blog posts.</p>
<p>Without further ado, here are the slides from today&#8217;s talk:<br />
<object id="__sse4391311" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="425" height="355" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowFullScreen" value="true" /><param name="allowScriptAccess" value="always" /><param name="src" value="http://static.slidesharecdn.com/swf/ssplayer2.swf?doc=jazoon-buildingdatarichinterfaceswithjavafx-100602100305-phpapp02&amp;stripped_title=building-data-rich-interfaces-with-javafx" /><param name="name" value="__sse4391311" /><param name="allowfullscreen" value="true" /><embed id="__sse4391311" type="application/x-shockwave-flash" width="425" height="355" src="http://static.slidesharecdn.com/swf/ssplayer2.swf?doc=jazoon-buildingdatarichinterfaceswithjavafx-100602100305-phpapp02&amp;stripped_title=building-data-rich-interfaces-with-javafx" name="__sse4391311" allowscriptaccess="always" allowfullscreen="true"></embed></object></p>
<p>You can also download the <a href="http://jfxtras.org/presentations/Jazoon%20-%20Building%20Data%20Rich%20Interfaces%20with%20JavaFX.pdf">slides as a PDF</a>.</p>
<div class="plus-one-wrap"><g:plusone href="http://javafx.steveonjava.com/building-data-rich-interfaces-with-javafx/"></g:plusone></div><div style="clear:both;">&nbsp;</div>
]]></content:encoded>
			<wfw:commentRss>http://javafx.steveonjava.com/building-data-rich-interfaces-with-javafx/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>JFXtras 0.6 Preview Available!</title>
		<link>http://javafx.steveonjava.com/jfxtras-0-6-preview-available/</link>
		<comments>http://javafx.steveonjava.com/jfxtras-0-6-preview-available/#comments</comments>
		<pubDate>Wed, 25 Nov 2009 09:16:48 +0000</pubDate>
		<dc:creator>steveonjava</dc:creator>
				<category><![CDATA[Announcements]]></category>
		<category><![CDATA[JavaFX]]></category>
		<category><![CDATA[JFXtras]]></category>
		<category><![CDATA[controls]]></category>
		<category><![CDATA[layouts]]></category>

		<guid isPermaLink="false">http://steveonjava.com/?p=714</guid>
		<description><![CDATA[Happy Thanksgiving from the JFXtras team!  While everyone else is celebrating the holiday with friends and family, we are going to be busy finishing up the 0.6 release. In case you have some spare time between meals and celebration, you can join in the fun too by trying out the JFXtras 0.6 preview release, which [...]]]></description>
			<content:encoded><![CDATA[
<div class="topsy_widget_data topsy_theme_blue" style="float: left;margin-right: 0.75em;; margin-top: 4px; background: url(data:,%7B%20%22url%22%3A%20%22http%253A%252F%252Fjavafx.steveonjava.com%252Fjfxtras-0-6-preview-available%252F%22%2C%20%22style%22%3A%20%22big%22%2C%20%22title%22%3A%20%22JFXtras%200.6%20Preview%20Available%21%22%20%7D);"></div>
<!--S-ButtonZ 1.1.5 Start--><div style="float: left; width: 42px; padding-right: 10px; margin: 0 10px 0 0;">
		<script type="text/javascript">
		<!--
		var dzone_url = "http://javafx.steveonjava.com/jfxtras-0-6-preview-available/";
		var dzone_title = "JFXtras 0.6 Preview Available!";
		var dzone_style = "1";
		var dzone_blurb = "";
		//-->
		</script>
		<script language="javascript" src="http://widgets.dzone.com/widgets/zoneit.js"></script></div><!--S-ButtonZ 1.1.5 End--><p>Happy Thanksgiving from the JFXtras team!  While everyone else is celebrating the holiday with friends and family, we are going to be busy finishing up the 0.6 release.</p>
<div class="wp-caption alignnone" style="width: 510px"><a href="http://www.flickr.com/photos/voght/2441818832/"><img class=" " title="Happy Thanksgiving!" src="http://farm4.static.flickr.com/3141/2441818832_aa89a2ffa2.jpg" alt="" width="500" height="334" /></a><p class="wp-caption-text">Wild turkey in LaConner, WA taken by stevevoght</p></div>
<p>In case you have some spare time between meals and celebration, you can join in the fun too by trying out the JFXtras 0.6 preview release, which can be downloaded here:</p>
<p><a href="http://code.google.com/p/jfxtras/downloads/list">http://code.google.com/p/jfxtras/downloads/list</a></p>
<p>There is a whole slew of new functionality including the following under Common:</p>
<ul>
<li>Layouts &#8211; Changes to the Grid API in preparation for inclusion in the JavaFX Soma release, and also added animation support to all the layouts.</li>
<li>Sphere &#8211; Pseudo 3D sphere created for the <a href="http://jfxstudio.wordpress.com/2009/07/14/fun-with-spheres/">Groovy showdown</a> with Andrey Almiray.</li>
<li>Gear &#8211; New shape from Steve Bixby.</li>
<li>ManualResizableRectangle &#8211; Very useful shape from <a href="http://jfxstudio.wordpress.com/2009/08/15/844/">Yannick&#8217;s post</a>.</li>
<li>JXScene &#8211; Pedro&#8217;s improved API for Swing integration.</li>
<li>PaintUtil, HSBColor, new gradients &#8211; Liu&#8217;s magic paint classes</li>
<li>Custom Paints &#8211; From Jeff Friesen&#8217;s excellent article on <a href="http://today.java.net/pub/a/today/2009/07/30/javafx-custom-paints.html">Custom Paints</a>.</li>
<li>Custom Cursors &#8211; From Jeff Friesen&#8217;s excellent article on <a href="http://today.java.net/pub/a/today/2009/07/14/custom-cursors-javafx.html">Custom Cursors</a>.</li>
<li>Wipe Library &#8211; A transition library from Simon Morris&#8217; <a href="http://www.manning.com/morris/">JavaFX in Action</a> book.</li>
<li>XMap &#8211; A bindable Map implementation for JavaFX.</li>
<li>XStore &#8211; David Armitage&#8217;s simple persistence for JavaFX variables using dependency injection.</li>
<li>ImageCache &#8211; Caching of JavaFX images for building high performance applications contributed by <a href="http://www.joshondesign.com/">Joshua Marinacci</a>.</li>
<li>XEDT &#8211; Simplified event thread mangement for JavaFX infrastructure classes (Warning: Use the JavaFX Task API instead unless you know exactly what you are doing)</li>
</ul>
<p>And the rest under a new Controls jar:</p>
<ul>
<li>XTableView &#8211; I am still working on this, but it is very useful already as demonstrated by Jim Weaver&#8217;s <a href="http://learnjavafx.typepad.com/weblog/2009/09/introducing-speedreaderfx-powered-by-javafx-and-jfxtras.html">SpeedReaderFX </a>application.</li>
<li>XTreeView &#8211; Jim Clarke&#8217;s Tree Control.</li>
<li>XCalendarPicker &#8211; Tom&#8217;s excellent <a href="http://jfxtras.org/portal/core/-/wiki/JFXtras/XCalendarPicker">calendar control</a>.</li>
<li>XPane &#8211; A titled region with rounded corners developed by Dean Iverson.</li>
<li>XPicker &#8211; David Armitage did some great work on this&#8230;  Check out his demo on the <a href="http://jfxtras.org/portal/core/-/wiki/JFXtras/XPicker">JFXtras website</a>.</li>
<li>XShelfView &#8211; A high performance Display Shelf control implementation with support for reflection, titles, and a scrollbar as showcased on <a href="http://jfxstudio.wordpress.com/2009/07/05/jfxtras-shelf-control/">JFXStudio</a>.</li>
<li>XSpinnerWheel &#8211; A prize spinner wheel that makes use of pseudo 3D effects as showcased in the <a href="http://jfxtras.org/portal/samples/-/journal_content/56/10128/32110">JUG Prize Spinner </a>application.</li>
<li>XMenu &#8211; Pure JavaFX Menu developed by <a href="http://jonathangiles.net/blog/?p=566">Jonathan Giles </a>(this version will be replaced by the official Sun Menu control when it becomes available).</li>
<li>XPasswordBox &#8211; Control from Liu to create a password field.</li>
<li>XMultiLineTextBox &#8211; Till&#8217;s control for editing multiple lines of text.</li>
<li>XSwingTable &#8211; From John Freeman, this gives you all the power of a JTable directly from JavaFX code.</li>
</ul>
<p>For this release we decided to go with a new naming convention to differentiate our classes from the built-in JavaFX layouts and controls.  Most of the classes are now prefixed with an &#8220;X&#8221; for jfXtras.  This will make migration slightly more painful now, but prevent future collisions and name changes down the road.</p>
<p>There is also a new version of JFXtras Test.  This is the final version that will be released under this name (it is being <a href="http://steveonjava.com/2009/08/02/jfxtras-test-and-fest-unite/">merged with FEST-JavaFX</a>), but it required an update to work with the new naming convention and to add some much-needed JUnit Runner support (see my <a href="http://steveonjava.com/2009/11/24/devoxx-conference-session-slides/">Devoxx Conference Presentation</a> for more details).</p>
<p>I probably missed a few things along the way here.  You can find the definitive list in the online JavaFXDoc:</p>
<p><a href="http://jfxtras.googlecode.com/svn/site/javadoc/release-0.6/index.html">http://jfxtras.googlecode.com/svn/site/javadoc/release-0.6/index.html</a></p>
<p>Please feel free to download the jars and give the preview release a try.  We are putting the finishing touches on several of the layouts and controls, so expect a final release in a week or so.</p>
<p>Happy Thanksgiving!</p>
<div class="plus-one-wrap"><g:plusone href="http://javafx.steveonjava.com/jfxtras-0-6-preview-available/"></g:plusone></div><div style="clear:both;">&nbsp;</div>
]]></content:encoded>
			<wfw:commentRss>http://javafx.steveonjava.com/jfxtras-0-6-preview-available/feed/</wfw:commentRss>
		<slash:comments>18</slash:comments>
		</item>
		<item>
		<title>JFXtras 0.5 Release Announcement</title>
		<link>http://javafx.steveonjava.com/jfxtras-0-5-release-announcement/</link>
		<comments>http://javafx.steveonjava.com/jfxtras-0-5-release-announcement/#comments</comments>
		<pubDate>Mon, 22 Jun 2009 15:31:21 +0000</pubDate>
		<dc:creator>steveonjava</dc:creator>
				<category><![CDATA[Announcements]]></category>
		<category><![CDATA[JavaFX]]></category>
		<category><![CDATA[JFXtras]]></category>
		<category><![CDATA[borders]]></category>
		<category><![CDATA[layouts]]></category>
		<category><![CDATA[release]]></category>
		<category><![CDATA[shapes]]></category>

		<guid isPermaLink="false">http://steveonjava.com/?p=365</guid>
		<description><![CDATA[I am pleased to announce the 0.5 release of JFXtras.  This release updates the project with JavaFX 1.2 support, plus includes a major overhaul of the Shapes, Borders, and Layouts. You can grab the latest bits here: http://code.google.com/p/jfxtras/downloads/list And browse the Javadoc online. Pure JavaFX Shapes Why should you care that we spent months re-implementing all the [...]]]></description>
			<content:encoded><![CDATA[
<div class="topsy_widget_data topsy_theme_blue" style="float: left;margin-right: 0.75em;; margin-top: 4px; background: url(data:,%7B%20%22url%22%3A%20%22http%253A%252F%252Fjavafx.steveonjava.com%252Fjfxtras-0-5-release-announcement%252F%22%2C%20%22shorturl%22%3A%20%22http%3A%2F%2Fbit.ly%2FaMeqnb%22%2C%20%22style%22%3A%20%22big%22%2C%20%22title%22%3A%20%22JFXtras%200.5%20Release%20Announcement%22%20%7D);"></div>
<!--S-ButtonZ 1.1.5 Start--><div style="float: left; width: 42px; padding-right: 10px; margin: 0 10px 0 0;">
		<script type="text/javascript">
		<!--
		var dzone_url = "http://javafx.steveonjava.com/jfxtras-0-5-release-announcement/";
		var dzone_title = "JFXtras 0.5 Release Announcement";
		var dzone_style = "1";
		var dzone_blurb = "";
		//-->
		</script>
		<script language="javascript" src="http://widgets.dzone.com/widgets/zoneit.js"></script></div><!--S-ButtonZ 1.1.5 End--><p>I am pleased to announce the 0.5 release of JFXtras.  This release updates the project with JavaFX 1.2 support, plus includes a major overhaul of the Shapes, Borders, and Layouts.</p>
<p>You can grab the latest bits here:<br />
<a href="http://code.google.com/p/jfxtras/downloads/list">http://code.google.com/p/jfxtras/downloads/list</a></p>
<p>And browse the Javadoc <a href="http://jfxtras.googlecode.com/svn/site/javadoc/release-0.5/index.html">online</a>.</p>
<h2>Pure JavaFX Shapes</h2>
<p>Why should you care that we spent months re-implementing all the Shapes from scratch in pure JavaFX code?  Well, here are a few reasons:</p>
<ol>
<li><strong>JavaFX 1.2 Compatibility</strong> - The JavaFX scene graph was pretty-much rewritten from the ground up in the 1.2 release, so porting the old Shape code was non-trivial.</li>
<li><strong>Mobile Deployment</strong> - Yes, you can now draw stars, balloons, and reuleaux triangles on your new HTC Diamond.  (What, you didn&#8217;t pick up a JavaFX Mobile device at JavaOne?  Your loss&#8230;)</li>
<li><strong>Richard Bair said to do it&#8230;</strong>  <a href="http://weblogs.java.net/blog/rbair/">Rich</a> isn&#8217;t the sort of guy you say no to, and he was pretty adament about the fact that we shouldn&#8217;t be hacking the scene graph directly.  Well, now we aren&#8217;t.  (although don&#8217;t let him know about our new hack to embed JavaFX in Swing&#8230;)</li>
</ol>
<p>You can try out the new shapes by running the <a href="http://projavafx.com/portal/samples">DrawJFXtras sample program</a> from the <a href="http://projavafx.com/">Pro JavaFX Platform book</a> (which has an entire chapter dedicated to the JFXtras project and other JavaFX FOSS):</p>
<div id="attachment_370" class="wp-caption alignnone" style="width: 520px"><a href="http://jfxtras.org/portal/webdav/liferay.com/guest/document_library/Samples/Pro%20JavaFX%20Platform/DrawJFXtras/DrawJFX.jnlp"><img class="size-full wp-image-370  " title="screenshot" src="http://steveonjava.files.wordpress.com/2009/06/screenshot1.png" alt="Draw JFXtras Sample Application" width="510" height="376" /></a><p class="wp-caption-text">Draw JFXtras Sample Application</p></div>
<p>Note:  When playing with the demo be careful using the balloon and rounded rectangle shapes.  They trigger a nasty bounds-detection bug that we still haven&#8217;t tracked down.</p>
<p>Thanks to my coworker, Steve Bixby for doing the rewrite in his spare time.  He was looking for a little project to learn JavaFX, and went way above and beyond!</p>
<h2>Redesigned Borders</h2>
<p>We also redesigned the JFXtras Borders from scratch.  Here are some of the new and noteworthy improvements:</p>
<ul>
<li><strong><span id="more-365"></span>Improved performance</strong> &#8211; The borders render much more quickly, because they take advantage of the new layout infrastructure. This means you can layer and nest borders to your heart&#8217;s content without worrying about slow rendering or resizing.</li>
<li><strong>Developer-friendly properties</strong> &#8211; The border properties are still available via CSS, but can now easily be set using variables on the classes as well.</li>
<li><strong>Shape-to-Fit support</strong> &#8211; There is a new property on the border class called shapeToFit that allows you to choose between having the border fill the available width/height or hugging the component.</li>
</ul>
<div class="mceTemp">
<dl class="wp-caption alignnone">
<dt class="wp-caption-dt"><a href="http://blogs.sun.com/clarkeman/entry/javafx_borders"><img class="size-full wp-image-366" title="BorderEnsemble" src="http://steveonjava.files.wordpress.com/2009/06/borderensemble.png" alt="Jim Clarke's Border Ensemble" width="509" height="465" /></a></dt>
<dd class="wp-caption-dd">Jim Clarke&#8217;s JFXtras Border Ensemble</dd>
</dl>
<p>Jim Clarke was responsible for most of this goodness, and did a great blog post that goes into more details here: <a href="http://blogs.sun.com/clarkeman/entry/javafx_borders">http://blogs.sun.com/clarkeman/entry/javafx_borders</a></div>
<h2>Layouts Reloaded</h2>
<p>What JFXtras release would be complete without at least a partial layout rewrite?  Well, the JavaFX team didn&#8217;t leave us much of a choice here, given all the great work they did on layouts in JavaFX 1.2.</p>
<p>The good news is that <a href="http://weblogs.java.net/blog/aim/">Amy Fowler</a> and I were mostly on the same wavelength, so the upgrade should be relatively painless.  Here are some of the reasons to use the new JFXtras layout classes:</p>
<ul>
<li><strong>Take advantage of JavaFX 1.2 features</strong> &#8211; All the JFXtras layouts will honor layoutInfo constraints set on Nodes such as hpos, vpos, and managed.</li>
<li><strong>Plus Extended layout features</strong> &#8211; JFXtras layers fill, span, grow, and full support for resizable layouts.  Simply drop in the ResizableXXX replacement classes (ResizableScene, ResizableHBox, ResizableImageView, etc.) and forget about manual binding of layouts.</li>
<li><strong>Plus the JFXtras Defaults System</strong> &#8211; Most components want to be laid out a certain way.  For example, you usually want Labels left aligned and TextBoxes to grow horizontally.  JFXtras provides defaults for all the new JavaFX 1.2 controls so you don&#8217;t have to.</li>
<li><strong>And still the best Grids around</strong> &#8211; The JFXtras Grid and MigLayout have both been fully updated to work with JavaFX 1.2.  Combined together, you have the most powerful layout system available for JavaFX (or any RIA platform) period.</li>
</ul>
<p>A great way to learn about the JFXtras layouts is by reading Chapter 8 of the <a href="http://projavafx.com/">Pro JavaFX Platform book</a>.  It goes over a complex <a href="http://projavafx.com/portal/samples">MediaExplorer Sample</a> built from the ground up using all the JFXtras layouts from ResizableScene to Grid to MigLayout.</p>
<div class="mceTemp">
<dl class="wp-caption alignnone">
<dt class="wp-caption-dt"><a href="http://jfxtras.org/portal/webdav/liferay.com/guest/document_library/Samples/Pro%20JavaFX%20Platform/MediaExplorer4/MediaExplorer.jnlp"><img class="size-full wp-image-368 " title="mediaexplorer" src="http://steveonjava.files.wordpress.com/2009/06/screenshot.png" alt="MediaExplorer sample demonstrating JFXtras Layouts" width="510" height="335" /></a></dt>
<dd class="wp-caption-dd">MediaExplorer sample demonstrating JFXtras Layouts</dd>
</dl>
<p>All the Pro JavaFX book samples including DrawJFXtras and MediaExplorer have been open-sourced under the New BSD license as a part of the <a href="http://jfxtras.org/portal/samples">JFXtras Samples</a> project.  More details on this project will be coming up in the next few weeks.</div>
<h2>JavaFX Wrapper for Swing</h2>
<p>Amy had a great <a href="http://weblogs.java.net/blog/aim/archive/2009/06/insiders_guide.html">blog</a> that described how to makeover a JavaFX application by embedding Swing, but how about going the other direction?  With the new SceneToJComponent class, you can do exactly that from a standard API like this:</p>
<pre class="brush: java; title: ; notranslate">
public SceneToJComponentTest() {
    String sceneClass = &quot;org.jfxtras.scene.SceneToJComponentScene&quot;;
    setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
    setTitle(&quot;FX Panel Test&quot;);
    getContentPane().setLayout(new BorderLayout());

    JComponent theScene = SceneToJComponent.loadScene(sceneClass);
    getContentPane().add(new JLabel(&quot;JLabel: The following is a JavaFX Scene&quot;), BorderLayout.NORTH);
    getContentPane().add(theScene, BorderLayout.CENTER);

    pack();
}
</pre>
<p>This class allows you convert any JavaFX Scene to a Swing JComponent that can be embedded in a larger application, insulating you from future changes in the JavaFX internal APIs.</p>
<h2>Full List of Features, Enhancements, and Changes</h2>
<p>For existing JFXtras users who want all the gory details that they will need to migrate their applications and take advantage of new features, here it is:</p>
<ul>
<li>JavaFX Wrapper for Swing:
<ul>
<li>The new SceneToJComponent class makes it easy to wrap your JavaFX user interface in a JComponent that you can use from any Swing UI</li>
<li>This insulates you from directly calling the JavaFX internal APIs, which may change in any release.</li>
</ul>
</li>
<li>JavaFX 1.2 Compatibility:
<ul>
<li>This breaks binary compatibility with old versions.  Please recompile all your code</li>
</ul>
</li>
<li>JSONHandler:
<ul>
<li>Enhanced variable name mapping support</li>
</ul>
</li>
<li>JFXtras Borders Changes:
<ul>
<li>Border child is now in a parameter called &#8220;node&#8221; rather than &#8220;content&#8221;</li>
<li>New shapeToFit property to choose between matching the container set width/height or wrapping the nested node</li>
<li>Properties are now exposed directly on the border classes in addition to being accessible from CSS.</li>
<li>Various border tweaks&#8230;  ShapeBorder is now used for clipping, TitledBorder has a line, etc.</li>
</ul>
</li>
<li>JFXtras Layout Changes:
<ul>
<li>HAlign/VAlign have been removed in favor of using the new built-in HPos/VPos classes.</li>
<li>Fill is not an orthoganal property in its own class used by ExtendedLayoutInfo (which extends LayoutInfo)</li>
<li>Grow and span are now on a new GridLayoutInfo class that extends ExtendedLayoutInfo</li>
<li>Layout contants are now all in the new LayoutConstants class (formerly GridContraints)</li>
<li>ResizableHBox/ResizableVBox have been updated with the new hpos/vpos/nodeHPos/nodeVPos parameters from HBox/VBox</li>
<li>ResizableScene now support nodeHPos/nodeVPos parameters</li>
<li>Deck now supports nodeHPos/nodeVPos parameters</li>
<li>Grid position default is LEFT/MIDDLE</li>
<li>Grid now supports nodeHPos/nodeVPos parameters</li>
<li>Grid now handles toFront/toBack correctly (and is the only layout in existence that does)</li>
<li>New DefaultLayout class for supporting the JFXtras defaults system</li>
<li>New JFXContainer class created to support JFXtras layout extensions</li>
<li>Removed org.jfxtras.layout.EmptyBorder.  User org.jfxtras.scene.border.EmptyBorder instead.</li>
</ul>
</li>
<li>Component Changes:
<ul>
<li>ScrollView now uses JavaFX ScrollBar and ClipView</li>
</ul>
</li>
<li>MigLayout Changes
<ul>
<li>MigLayout fixed to make it work with JavaFX 1.2.</li>
<li>MigLayout handles dynamic changes to node sizes and their layoutInfo&#8217;s managed flag</li>
<li>MigLayout code is no longer forked (thanks to nativearrary support in JavaFX!)</li>
</ul>
</li>
<li>JFXtras Shapes changes:
<ul>
<li>JFXtras Shapes are now defined as native JavaFX shapes</li>
<li>Shapes are generally more fault tolerant to invalid parameter values</li>
<li>Almond &amp; Asterisk &#8216;width&#8217; is now from left to right rather than left-to-center or center-to-right.</li>
<li>Asterisk arm width is now as specified (was twice as wide.)</li>
<li>ReuleauxTriangle is treated as a spherical object and has centerX, centerY, and radius, rather than x/y/width.</li>
<li>All shapes use native JavaFX transforms; specifically, angle of rotation is clockwise rather than counterclockwise as before.</li>
<li>All shapes rotate about their bounds center rather than around a starting point &#8211; as do all Path-based native JavaFX shapes.</li>
</ul>
</li>
</ul>
<p>Thanks to the whole JFXtras team, and especially Steve Bixby, Jim Clarke, Dean Iverson, and Keith Combs, for making this release possible.</p>
<p><strong>Enjoy the new JFXtras Release!</strong></p>
<div class="plus-one-wrap"><g:plusone href="http://javafx.steveonjava.com/jfxtras-0-5-release-announcement/"></g:plusone></div><div style="clear:both;">&nbsp;</div>
]]></content:encoded>
			<wfw:commentRss>http://javafx.steveonjava.com/jfxtras-0-5-release-announcement/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
	</channel>
</rss>

