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

Bitbucket is for the code that takes us to Mars, decodes the human genome, or drives your next car. What will your code do? Get started with Bitbucket today, it's free.

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.

Bitbucket is the Git solution for professional teams who code with a purpose, not just as a hobby. Get started today, it's free.

Topics:

Published at DZone with permission of Michael Heinrichs. See the original article here.

Opinions expressed by DZone contributors are their own.

THE DZONE NEWSLETTER

Dev Resources & Solutions Straight to Your Inbox

Thanks for subscribing!

Awesome! Check your inbox to verify your email so you can start receiving the latest in tech news and resources.

X

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

{{ parent.tldr }}

{{ parent.urlSource.name }}