Category: JavaFX

Stopping JavaFX Context Menus from auto hiding

This is a post that I wanted to write as it was a problem I ran into at my previous job probably around this time last year. I was doing some general testing around a JavaFX table application I had written and I ran into this really annoying problem (I find it frustrating anyway). Upon ...

Editable Tables in JavaFX

After hearing my colleague constantly talking about the editable grids that the company I work at designed a long time ago, I decided to do something to make him proud of me. So I wrote a application that creates an editable TableView in JavaFX that can be used to brainlessly enter in data, if that's what ...

Size does matter in JavaFX

Does size matter? That's a question that's been around for a while and the answer is up for debate. But this is JavaFX and the answer is a resounding yes size does matter. I'm not saying that user interfaces need to bigger to be better, I'm talking about controlling size. If you don't control it ...

JavaFX graphs look pretty good!

When I was doing my 3rd year project in university I needed a good looking chart to use in my user interface and now I have grown older (nearly 2 whole years!) I wish I would have turned to the charts in JavaFX rather than the ugly looking JChart2D API that I used. Now don't get me ...

Getting started with JavaFX

JavaFX is used to create desktop applications and internet applications.  It is meant to replace Swing as the main GUI library that comes included with Java SE.  This post will cover some of the basics to help get started with using JavaFX. Before I start giving out code examples I am going to insist that ...