Java

JavaFX Tip 22: Autosize (Tree) Table Columns

One of the first things mentioned as a "missing feature" in the JavaFX "Missing Features Survey" was the ability to auto-resize columns in tables / tree tables. It is correct that there is no public API for it, but when you pay close attention then you will notice that there must be code for doing this somewhere inside JavaFX, because the user can auto-resize a column by double clicking on the divider line between the column and the next column to the right. But like most people I felt that this was not good enough for my code. I wanted [...]

By |2021-02-18T13:42:28+01:00December 10th, 2015|JavaFX, Tips & Tricks|2 Comments

Survey: JavaFX 8 Missing Features

UPDATE: THE SURVEY HAS FINISHED. One sentence that I hear quite frequently when discussing JavaFX with other developers is that JavaFX "does not do XYZ" or "does not support XYZ". Often they list features that are indeed available in other technologies / frameworks. To get a better understanding of these "missing features" I thought it would be good to create an online survey and to collect them. Ideally we end up with a complete list and ideally we have the perfect UI framework if we can check off every single item on the list. :-)

By |2021-02-18T13:42:28+01:00December 10th, 2015|JavaFX|11 Comments

Cool: JavaFX in the Browser!

I had a nice long talk today with the guys from Sandec (sandec.de). They were showing me their product called "Centralized Java (CJ)". With this solution it is actually possible to run a JavaFX application in a browser (for now it works best with Chrome). The website javafx-samples.com shows several demos that are using this technology. The demos include the JavaFX SceneBuilder, the game 2048, the JavaFX Ensemble demo suite. It is amazing how much of these applications is supported by CJ. There are still a few gaps but the folks at Sandec are planning to close them soon. [...]

By |2021-02-18T13:42:28+01:00December 1st, 2015|CalendarFX, JavaFX|34 Comments

JavaFX is Here to Stay!

The last week has seen some discussion on the web related to the future of JavaFX. Many people got the impression that JavaFX will be put on ice by Oracle. This was primarily caused by a blog post written by Shai Almog (Codename One) called "Should Oracle Spring Clean JavaFX". It was  "inspired" by a blog that I had written a little bit earlier where I was emphasizing the benefits of JavaFX. I believe that Shai simply tried to emphasize that Oracle could do more / could do better when it comes to JavaFX but the conclusion that some companies were drawing [...]

By |2021-02-18T13:42:28+01:00November 30th, 2015|JavaFX|9 Comments

When to use JavaFX instead of HTML

The one question that JavaFX aficionados like myself are facing over and over again is the question when (or why) to use JavaFX instead of HTML (5). Here are my two cents on it: You should use JavaFX if .... ... you are interested in robustness / quality. JavaFX is Java! You will be able to implement your entire application with the same language / technology. This has a direct impact on the people and the skill sets that you have to have in your team and also on the robustness and quality of the application. The more you have to switch between different languages [...]

By |2021-02-18T13:42:28+01:00November 16th, 2015|Java, JavaFX|14 Comments

JavaFX Real-World Apps: EIZO CuratOR Caliop

JavaFX Real-World application number four is called Caliop. It is the frontend of the CuratOR solution developed by EIZO for operating rooms in hospitals. The frontend runs on wall-mounted consoles and allows the operating team to look up information about a patient, control the routing of various video sources to different monitors, record videos, take photos / stills. For this software I was asked to implement the UI in JavaFX based on an already very sophisticated HTML mockup. Even though the mockup made heavy use of animations and CSS styling it was a straight forward port to JavaFX. The following [...]

By |2021-02-18T13:42:28+01:00October 23rd, 2015|Java, JavaFX|4 Comments

JavaFX Real-World Apps: Emirates Airlines Network Capacity Optimization

Emirate Airlines' "Network Capacity Optimization" (NCO) is the subject of this fourth installment of the "Real World Apps" series. For reference here are the first three: Mint Media: Training and Resource Management AISO: HRC-Matic European Broadcasting Union: NEOS NCO was developed to allow the dispatchers at Emirates Airlines to optimize the usage of their plane fleet. In this application the user creates requests for new flights, cancelled flights, delayed flights, upgraded flights, etc.... NCO can then be used to create different scenarios to fulfill the requests. Each scenario is evaluated and associated with its impact on costs. I had only [...]

By |2021-02-18T13:42:29+01:00October 22nd, 2015|FlexganttFX, Java, JavaFX|2 Comments

JavaFX Time Spinner Hack

A while ago I hacked the JavaFX spinner control to use it for entering a time (hour and minute). When doing so I noticed that the spinner API actually already had most of the stuff needed to do this but support for entering time was never finished. If I remember correctly I only had to change the visibility of some of the methods in the spinner code (skin) and voila! I posted a video on YouTube showing this "amazing" control and several people asked for the source code. Unfortunately I had lost it but today I found it again. [...]

By |2015-10-19T15:27:31+02:00October 19th, 2015|Java, JavaFX|1 Comment