<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: JavaFX 1.2 Top 10 and Migration Guide</title>
	<atom:link href="http://steveonjava.com/javafx-1-2-top-10/feed/" rel="self" type="application/rss+xml" />
	<link>http://javafx.steveonjava.com/javafx-1-2-top-10/</link>
	<description>Hacking Java, JavaFX, and Flash with Agility</description>
	<lastBuildDate>Thu, 17 May 2012 02:04:33 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
	<item>
		<title>By: Lee</title>
		<link>http://javafx.steveonjava.com/javafx-1-2-top-10/#comment-72</link>
		<dc:creator>Lee</dc:creator>
		<pubDate>Sat, 07 Nov 2009 22:43:58 +0000</pubDate>
		<guid isPermaLink="false">http://steveonjava.com/?p=269#comment-72</guid>
		<description>Brilliant Ill give that a go, thanks for the quick response.

Lee</description>
		<content:encoded><![CDATA[<p>Brilliant Ill give that a go, thanks for the quick response.</p>
<p>Lee</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: steveonjava</title>
		<link>http://javafx.steveonjava.com/javafx-1-2-top-10/#comment-73</link>
		<dc:creator>steveonjava</dc:creator>
		<pubDate>Sat, 07 Nov 2009 22:41:46 +0000</pubDate>
		<guid isPermaLink="false">http://steveonjava.com/?p=269#comment-73</guid>
		<description>Lee,

Glad you found the guide useful!

A mixin can only extend other mixins or Java interfaces.  Since BoardSquare extends CustomNode you can&#039;t use it as a mix-in.

You could define BoardSquareInterface as a mixin (or subclass it with a new mixin) and provide a default implementation for the methods.</description>
		<content:encoded><![CDATA[<p>Lee,</p>
<p>Glad you found the guide useful!</p>
<p>A mixin can only extend other mixins or Java interfaces.  Since BoardSquare extends CustomNode you can&#8217;t use it as a mix-in.</p>
<p>You could define BoardSquareInterface as a mixin (or subclass it with a new mixin) and provide a default implementation for the methods.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Lee</title>
		<link>http://javafx.steveonjava.com/javafx-1-2-top-10/#comment-74</link>
		<dc:creator>Lee</dc:creator>
		<pubDate>Sat, 07 Nov 2009 11:04:47 +0000</pubDate>
		<guid isPermaLink="false">http://steveonjava.com/?p=269#comment-74</guid>
		<description>Hi Steve,

Grate guide this has really helped me out, thank you very much.

Although I am struggling with one aspect the &quot;use Mixins instead of Multiple Inheritance&quot;. Once I use &quot;Public mixin class&quot; I am no longer able to use &quot;extends CustomNode, BoardSquareInterface&quot;. Because it gives me an error within NetBeans, do you know any way I could get around this?

I have included the code that worked with javafx 1.1 below:


public class BoardSquare extends CustomNode, BoardSquareInterface {
    public var pieceWidth : Number;
    public var pieceHeight : Number;
    public-init var positionX : Integer;
    public-init var positionY : Integer;
    public var content : Piece;
    public-init var board : Board;

    def square = Rectangle
    {
        x: bind positionX * pieceWidth;
        y: bind positionY * pieceHeight;
        width: bind pieceWidth;
        height: bind pieceHeight;
        fill: Color.LIGHTGOLDENRODYELLOW;
    }
    public function getXPixel() : Number
    {
        return positionX * pieceWidth;
    }

    public function getYPixel() : Number
    {
        return positionY * pieceHeight;
    }

    override function create():Node {
        return square;
    }

    override function getX() : Integer
    {
        return positionX;
    }

    override function getY() : Integer
    {
        return positionY;
    }

    override function isOccupied() : Boolean
    {
        return (content != null);
    }
}


Any help at all would be greatly appreciated.

Many thanks,
Lee</description>
		<content:encoded><![CDATA[<p>Hi Steve,</p>
<p>Grate guide this has really helped me out, thank you very much.</p>
<p>Although I am struggling with one aspect the &#8220;use Mixins instead of Multiple Inheritance&#8221;. Once I use &#8220;Public mixin class&#8221; I am no longer able to use &#8220;extends CustomNode, BoardSquareInterface&#8221;. Because it gives me an error within NetBeans, do you know any way I could get around this?</p>
<p>I have included the code that worked with javafx 1.1 below:</p>
<p>public class BoardSquare extends CustomNode, BoardSquareInterface {<br />
    public var pieceWidth : Number;<br />
    public var pieceHeight : Number;<br />
    public-init var positionX : Integer;<br />
    public-init var positionY : Integer;<br />
    public var content : Piece;<br />
    public-init var board : Board;</p>
<p>    def square = Rectangle<br />
    {<br />
        x: bind positionX * pieceWidth;<br />
        y: bind positionY * pieceHeight;<br />
        width: bind pieceWidth;<br />
        height: bind pieceHeight;<br />
        fill: Color.LIGHTGOLDENRODYELLOW;<br />
    }<br />
    public function getXPixel() : Number<br />
    {<br />
        return positionX * pieceWidth;<br />
    }</p>
<p>    public function getYPixel() : Number<br />
    {<br />
        return positionY * pieceHeight;<br />
    }</p>
<p>    override function create():Node {<br />
        return square;<br />
    }</p>
<p>    override function getX() : Integer<br />
    {<br />
        return positionX;<br />
    }</p>
<p>    override function getY() : Integer<br />
    {<br />
        return positionY;<br />
    }</p>
<p>    override function isOccupied() : Boolean<br />
    {<br />
        return (content != null);<br />
    }<br />
}</p>
<p>Any help at all would be greatly appreciated.</p>
<p>Many thanks,<br />
Lee</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: WidgetFX 1.2 Beta Announcement &#171; Steve on Java</title>
		<link>http://javafx.steveonjava.com/javafx-1-2-top-10/#comment-79</link>
		<dc:creator>WidgetFX 1.2 Beta Announcement &#171; Steve on Java</dc:creator>
		<pubDate>Wed, 17 Jun 2009 10:39:06 +0000</pubDate>
		<guid isPermaLink="false">http://steveonjava.com/?p=269#comment-79</guid>
		<description>[...] 3. Upgrade the rest of your code to be JavaFX 1.2 compatible. This is beyond the scope of this article, but I happen to know an excellent migration guide: http://steveonjava.com/2009/05/31/javafx-1-2-top-10/ [...]</description>
		<content:encoded><![CDATA[<p>[...] 3. Upgrade the rest of your code to be JavaFX 1.2 compatible. This is beyond the scope of this article, but I happen to know an excellent migration guide: <a href="http://steveonjava.com/2009/05/31/javafx-1-2-top-10/" rel="nofollow">http://steveonjava.com/2009/05/31/javafx-1-2-top-10/</a> [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: The Java FX Journey &#187; Blog Archive &#187; A Game Programming Perspective</title>
		<link>http://javafx.steveonjava.com/javafx-1-2-top-10/#comment-78</link>
		<dc:creator>The Java FX Journey &#187; Blog Archive &#187; A Game Programming Perspective</dc:creator>
		<pubDate>Wed, 17 Jun 2009 02:55:21 +0000</pubDate>
		<guid isPermaLink="false">http://steveonjava.com/?p=269#comment-78</guid>
		<description>[...] release, and why they&#8217;re important. At the time I didn&#8217;t do this because there are many good articles elaborating the features, so I thought it would be redundant. After some time though, I [...]</description>
		<content:encoded><![CDATA[<p>[...] release, and why they&#8217;re important. At the time I didn&#8217;t do this because there are many good articles elaborating the features, so I thought it would be redundant. After some time though, I [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: JavaFX 1.2 ????(??)</title>
		<link>http://javafx.steveonjava.com/javafx-1-2-top-10/#comment-77</link>
		<dc:creator>JavaFX 1.2 ????(??)</dc:creator>
		<pubDate>Mon, 15 Jun 2009 05:50:22 +0000</pubDate>
		<guid isPermaLink="false">http://steveonjava.com/?p=269#comment-77</guid>
		<description>[...] Chin?????The Definitive 1.2 Migration Guide??????????  Below is the JavaFX 1.2 migration guide written by Stephen Chin. The [...]</description>
		<content:encoded><![CDATA[<p>[...] Chin?????The Definitive 1.2 Migration Guide??????????  Below is the JavaFX 1.2 migration guide written by Stephen Chin. The [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: steveonjava</title>
		<link>http://javafx.steveonjava.com/javafx-1-2-top-10/#comment-76</link>
		<dc:creator>steveonjava</dc:creator>
		<pubDate>Sun, 14 Jun 2009 07:39:12 +0000</pubDate>
		<guid isPermaLink="false">http://steveonjava.com/?p=269#comment-76</guid>
		<description>Kudos to Henry Zhang for the Chinese translation!</description>
		<content:encoded><![CDATA[<p>Kudos to Henry Zhang for the Chinese translation!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: JavaFX 1.2 ??????</title>
		<link>http://javafx.steveonjava.com/javafx-1-2-top-10/#comment-75</link>
		<dc:creator>JavaFX 1.2 ??????</dc:creator>
		<pubDate>Sun, 14 Jun 2009 07:30:45 +0000</pubDate>
		<guid isPermaLink="false">http://steveonjava.com/?p=269#comment-75</guid>
		<description>[...] ???????Stephen Chin??????????The Definitive 1.2 Migration Guide???????????????????? [...]</description>
		<content:encoded><![CDATA[<p>[...] ???????Stephen Chin??????????The Definitive 1.2 Migration Guide???????????????????? [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: zammbi</title>
		<link>http://javafx.steveonjava.com/javafx-1-2-top-10/#comment-85</link>
		<dc:creator>zammbi</dc:creator>
		<pubDate>Thu, 11 Jun 2009 16:13:44 +0000</pubDate>
		<guid isPermaLink="false">http://steveonjava.com/?p=269#comment-85</guid>
		<description>JavaFX objectives are much different compared to flex and silverlight.
JavaFX is for targeting all screens: desktop, browser, mobile, TV, blueray, etc
without changing any code.
Later on JavaFX will support full 3d also.
Also be able to sell JavaFX apps at the Java store.
I for one hope the JavaFX team to keeps up the good work.</description>
		<content:encoded><![CDATA[<p>JavaFX objectives are much different compared to flex and silverlight.<br />
JavaFX is for targeting all screens: desktop, browser, mobile, TV, blueray, etc<br />
without changing any code.<br />
Later on JavaFX will support full 3d also.<br />
Also be able to sell JavaFX apps at the Java store.<br />
I for one hope the JavaFX team to keeps up the good work.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: JavaFX 1.2 wydana &#124; itnews</title>
		<link>http://javafx.steveonjava.com/javafx-1-2-top-10/#comment-82</link>
		<dc:creator>JavaFX 1.2 wydana &#124; itnews</dc:creator>
		<pubDate>Tue, 02 Jun 2009 17:20:10 +0000</pubDate>
		<guid isPermaLink="false">http://steveonjava.com/?p=269#comment-82</guid>
		<description>[...] Chin na swoim blogu wymienia 10 najwa?niejszych zmian w nowym wydaniu: 1. Kontrolki interfejsu u?ytkownika obs?uguj?ce [...]</description>
		<content:encoded><![CDATA[<p>[...] Chin na swoim blogu wymienia 10 najwa?niejszych zmian w nowym wydaniu: 1. Kontrolki interfejsu u?ytkownika obs?uguj?ce [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>

