HyperTree renderer for JavaFX
November 11, 2011 7 Comments
Today I kindof went back to the beginning of my free software ‘career’ and implemented a hyperbolic tree renderer for JavaFX:
This has been the thing that brought me to GNU Classpath, back then I made GNU Classpath able to render this in Swing/Java2D
This component is slightly improved, it can renderer arbitrary tree structures and instead of displaying colorful rectangles, it can basically display any shape, control, image or whatever you can come up with as JavaFX node.
This will be included in ThingsFX shortly. I will also make a live demo of this, because a screenshot doesn’t really convey how cool the component is (dragging the tree around with the mouse pointer is sooo much fun 😀 ).
Update: Here’s the live demo.
Update: Here’s the source code.
JavaFX application requires a recent Java runtime. Please download and install the latest JRE from java.com.
I’ll follow the javafx hype, when cross-platform compatibility is reached prior to this – silverlight works on more plattforms, than the “compile onces, run everywhere” language java.
Pingback: Java desktop links of the week, November 14 | Jonathan Giles
Pingback: JavaFX links of the week, November 14 // JavaFX News, Demos and Insight // FX Experience
I don’t see com.thingsfx.hypertree.HyperTreeDemo (found by looking at your jnlp file) under the source code link at http://hg.icedrobot.de/hg/thingsfx-hypertree/
It appears http://hg.icedrobot.de/hg/thingsfx-hypertree/ is for generating thingsfx-0.1.0-SNAPSHOT.jar
But where is the source code for com.thingsfx.hypertree.HyperTreeDemo, which is in hypertreefxdemo.jar ?
The source code is correct, it should generate thingsfx-hypertree-0.1.0-SNAPSHOT.jar. But you are right, the HyperTreeDemo itself is not part of the source code (yet), the project only contains the library to support hypertree rendering, the demo itself can be found here: http://ladybug-studio.com/~roman/HyperTreeDemo.java . I hope this helps.
Thanks, this is very nice!