Over a million developers have joined DZone.
{{announcement.body}}
{{announcement.title}}

JavaFX in the Browser – an Update

DZone's Guide to

JavaFX in the Browser – an Update

· Java Zone ·
Free Resource

Download Microservices for Java Developers: A hands-on introduction to frameworks and containers. Brought to you in partnership with Red Hat.

I have uploaded a new version of the sample page for JavaFX in the browser, which demonstrates the functionality that was added lately: gradients, fonts, and mouse-events. http://jfx8web.netopyr.com/playground/

The current version uses WebGL for rendering. WebGL is the main reason why there was only little progress since the last update, because I basically had to learn OpenGL ES and WebGL from scratch. It sure changed a lot since OpenGL 1.2.1, which was the last version I worked with. :)

I chose to work on gradients and font support, because that is what controls consists of. On the sample page there is also a button, to check the general availability of controls.

Unfortunately only simple controls work with acceptable performance right now. I have to investigate this more thoroughly. Functionality wise the next features I plan to work on are keyboard input events and support for HiDPI displays. I am curious how that will turn out.

Download Building Reactive Microservices in Java: Asynchronous and Event-Based Application Design. Brought to you in partnership with Red Hat

Topics:

Published at DZone with permission of

Opinions expressed by DZone contributors are their own.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}