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


About this entry