Adam Bien's Weblog
Getting The Source Code For JavaFX UI
Execute:
hg clone http://hg.openjdk.java.net/openjfx/2.1/master/rt
and you will get the source for the JavaFX UI controls with a NetBeans project.
package com.sun.javafx;
public class PlatformUtil {
public static boolean isMac() {
throw new UnsupportedOperationException("Not yet implemented");
}
public static boolean isWindows() {
throw new UnsupportedOperationException("Not yet implemented");
}
}
and referencing the jfxrt.jar, the code becomes even compilable
Enjoy!
Posted at 05:29AM Dec 03, 2011 by Adam Bien in Real World Java EE Patterns - Rethinking Best Practices | Comments[1] | Views/Hits: 9361
NEW Workshop: "JPA, NoSQL, Caching, Grids and Distributed Caches with Java EE 7", May 7th, 2013, Airport Munich
A book about rethinking Java EE Patterns
Tweet Follow @AdamBien

I wish get the source code of jfxrt.jar,thank you!
Posted by hua on February 24, 2013 at 04:32 PM CET #