JavaFX for Web Developers

For java developers, JavaFX is a breath of fresh air in terms of conciseness and power. A lot more could be expressed in much less lines.

However, for a web developer, the effort involved in creating some text bounded with a rectangular box on JavaFX is considerably higher compared with HTML.

I recommend starting off with a higher level class, like the DivNode I present below, rather than starting with raw Text and Rectangle nodes.

Unfortunately, the JavaFX bounds functions doesn’t seem to allow room calculations on ascenders, descenders, and baselines. It seems like a little more engineering is required to get back on par with HTML 1.0

divnode

You should follow me on twitter here

One Response to “JavaFX for Web Developers”

  1. Josh Marinacci writes:

    Hi Chui. You are completely right. We have plans for much more sophisticated layout coming soon. In the mean time, could you email me at joshua.marinacci@sun.com. I’d like to talk to you about a project. Thanks.

Leave a Reply