<?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"
	>
<channel>
	<title>Comments on: Interoperability between JavaFX and Java</title>
	<atom:link href="http://www.compare-review-information.com/javafx-java-interoperability/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.compare-review-information.com/javafx-java-interoperability/</link>
	<description>Review and comparison of information and opinions</description>
	<pubDate>Fri, 12 Mar 2010 06:26:27 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.3</generator>
		<item>
		<title>By: Octavian Tanase</title>
		<link>http://www.compare-review-information.com/javafx-java-interoperability/#comment-1346</link>
		<dc:creator>Octavian Tanase</dc:creator>
		<pubDate>Thu, 12 Feb 2009 07:02:14 +0000</pubDate>
		<guid isPermaLink="false">http://www.compare-review-information.com/?p=170#comment-1346</guid>
		<description>Cool blog. Now that the Sun folks have released JavaFX 1.1 - mobile edition which complements the Dec '08 release, you should take a look at the common API (vs desktop). The APIs enable developers to deploy application on desktop, browser and JavaME enabled phones. When calling Java you have take in consideration the reduced screen real estate, as well as the fact that the CLDC/CDC profiles implements only a subset of the Java API.</description>
		<content:encoded><![CDATA[<p>Cool blog. Now that the Sun folks have released JavaFX 1.1 - mobile edition which complements the Dec &#8216;08 release, you should take a look at the common API (vs desktop). The APIs enable developers to deploy application on desktop, browser and JavaME enabled phones. When calling Java you have take in consideration the reduced screen real estate, as well as the fact that the CLDC/CDC profiles implements only a subset of the Java API.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: florin</title>
		<link>http://www.compare-review-information.com/javafx-java-interoperability/#comment-65</link>
		<dc:creator>florin</dc:creator>
		<pubDate>Mon, 05 Jan 2009 00:40:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.compare-review-information.com/?p=170#comment-65</guid>
		<description>So how would implementing a shared interface solve the problem? Should sharing the VM is implied, then what makes this a solution? Don't you yet have to kick off the fx script via the javafx.exe?

Dear Florin,

To some extreme, you can start javafx first, then all other things will be transfered to Java afterwards. Like this:
&lt;pre&gt;
JavaMain.java

public class JavaMain {
  public static Object start( JavaInterface ji){
    return ji.createStage();
  }
}


JavaInterface.java

public interface JavaInterface {
  public Object createStage();
}


MyStage.fx

public class MyStage extends JavaInterface {

  public override function createStage(): Object{

    Stage {
      title: "Application title"
      width: 250
      height: 80
      scene: Scene {
        content: Text {
          font: Font {
            size: 24
          }
          x: 10,
          y: 30
          content: "Application content"
        }
      }
}
  }

Main.fx

var mys = MyStage{};
JavaMain.start(mys);

&lt;/pre&gt;
</description>
		<content:encoded><![CDATA[<p>So how would implementing a shared interface solve the problem? Should sharing the VM is implied, then what makes this a solution? Don&#8217;t you yet have to kick off the fx script via the javafx.exe?</p>
<p>Dear Florin,</p>
<p>To some extreme, you can start javafx first, then all other things will be transfered to Java afterwards. Like this:</p>
<pre>
JavaMain.java

public class JavaMain {
  public static Object start( JavaInterface ji){
    return ji.createStage();
  }
}

JavaInterface.java

public interface JavaInterface {
  public Object createStage();
}

MyStage.fx

public class MyStage extends JavaInterface {

  public override function createStage(): Object{

    Stage {
      title: "Application title"
      width: 250
      height: 80
      scene: Scene {
        content: Text {
          font: Font {
            size: 24
          }
          x: 10,
          y: 30
          content: "Application content"
        }
      }
}
  }

Main.fx

var mys = MyStage{};
JavaMain.start(mys);
</pre>
]]></content:encoded>
	</item>
</channel>
</rss>
