In nashorn openjdk repository http://hg.openjdk.java.net/jdk9/dev/nashorn,there is a script called "fxmlrunner.js" in the "samples" directory. This script...
In nashorn openjdk repository http://hg.openjdk.java.net/jdk9/dev/nashorn,there is a script called "fxmlrunner.js" in the "samples" directory. This script can accept any FXML file as command line argument and "run it". If that FXML file has event handlers written in (nashorn) javascript, then we can have complete runnable application without having to write any Java code!When I came across this FXML...
In nashorn openjdk repository http://hg.openjdk.java.net/jdk9/dev/nashorn,there is a script called "fxmlrunner.js" in the "samples" directory. This script can accept any FXML file as command line...
I created a simple JavaFX applet and compiled it with "javafxc" and created a jar "HelloApplet.jar". Then, I created a simple HTML file as...
I created a simple JavaFX applet and compiled it with "javafxc" and created a jar "HelloApplet.jar". Then, I created a simple HTML file as follows:<script src="http://dl.javafx.com/dtfx.js"></script><script> javafx( { archive: "HelloApplet.jar", draggable: true, width: 150, height: 100, code: "hello.HelloApplet", name: "HelloApplet" } );</script>When viewing the HTML, I did not see the expected applet content in it - just a gray rectangle panel :-( Then, I turned on the "Show...
You may have browsed JavaFX API docs generated by javafxdoc tool. javafxdoc tool is implemented as a doclet. It is possible to use javafxdoc's doclet to...
You may have browsed JavaFX API docs generated by javafxdoc tool. javafxdoc tool is implemented as a doclet. It is possible to use javafxdoc's doclet to generate API docs for Java code.Note: The XMLDoclet implemented as part of javafxdoc tool is an implementation detail and not part of official JavaFX/tool API and so please do not depend on this. This is more for fun/learning/personal use!)I generated javadoc for BTrace source using the following command:javadoc...
You may have browsed JavaFX API docs generated by javafxdoc tool. javafxdoc tool is implemented as a doclet. It is possible to use javafxdoc's doclet to generate API docs for Java code.Note:...
Do you live in India? What do you want? Sony Ericsson phone or Canon Camera or iPod? If so, have fun writing JavaFX code and win any of these prizes!
JavaFX compiler has a built-in script shell - Per Bothner has implemented a read-eval-print loop facility for JavaFX. The script shell class is...
JavaFX compiler has a built-in script shell - Per Bothner has implemented a read-eval-print loop facility for JavaFX. The script shell class is com.sun.tools.javafx.script.ScriptShell.Note:This is in the openjfx-compiler repository and not in the JavaFX 1.0 binary.A sample JavaFX session is as follows:$ java -cp dist/lib/shared/javafxc.jar com.sun.tools.javafx.script.ScriptShell /\*fx1\*/ "hello"hello/\*fx2\*/ 2 + 46/\*fx3\*/ function greet (name) { println("Hello, {name}")...
JavaFX compiler has a built-in script shell - Per Bothner has implemented a read-eval-print loop facility for JavaFX. The script shell class is com.sun.tools.javafx.script.ScriptShell.Note:This is in...
There is an unsupported (read - can be removed in future without notice!) command line option with JavaFX compiler. If you run javafxc as javafxc -XDdumpjava...
There is an unsupported (read - can be removed in future without notice!) command line option with JavaFX compiler. If you run javafxc as javafxc -XDdumpjava Test.fxthe compiler generates intermediate Java code for your JavaFX program in "./dumpjava" directory (compiler expects you to create ./dumpjava directory before invoking javafxc). This is meant to be a debugging option for JavaFX compiler developers. But, you can look at generated Java code to see what happens behind...
There is an unsupported (read - can be removed in future without notice!) command line option with JavaFX compiler. If you run javafxc as javafxc -XDdumpjava Test.fxthe compiler generates intermediate...
I missed attending and speaking at Sun Tech Days at Hyderabad due to a personal reason :-( In fact, I prepared slides for a talk titled "JavaFX for Java,...
I missed attending and speaking at Sun Tech Days at Hyderabad due to a personal reason :-( In fact, I prepared slides for a talk titled "JavaFX for Java, JavaScript programmers". This is much like my earlier language comparison blog entries such as Java, JavaScript and Jython, Java, Groovy and JRuby etc. The idea is to learn a language by language comparison - and not to conclude "better"/"worse" language and so on. So, no politics please :-) Although I could not attend Sun...
I missed attending and speaking at Sun Tech Days at Hyderabad due to a personal reason :-( In fact, I prepared slides for a talk titled "JavaFX for Java, JavaScript programmers". This is much like my...