JavaFX

CalendarFX (EA) for JavaFX 8

I am happy to announce the immediate availability of CalendarFX for JavaFX 8 (EA), a framework for creating professional calendar user interfaces for any type of application. The framework provides views for showing calendar entries for a given day, week, month, or year. Several sources (e.g. Google calendar) can be registered with each source consisting of several calendars. Each calendar consisting of hundreds or thousands of entries. CalendarFX can be downloaded here. It ships with several demo applications. Please take them for a spin, try out the API, and let me know what you think. A framework such as this depends [...]

By |2021-02-18T13:42:29+01:00March 18th, 2015|CalendarFX, Java, JavaFX|4 Comments

JavaFX Tip 18: Path Clipping

I recently noticed that the PopOver control, which I committed to the ControlsFX project, does not properly clip its content. It became obvious when I was working on the accordion popover for the FlexCalendarFX framework. Whenever the last titled pane was expanded the bottom corners were no longer rounded but square. After placing a red rectangle as content to the titled pane it became clear to me that I forgot to add clipping. The following picture shows the problem. Normally clipping in JavaFX is quite easy. All it takes is an additional node and a call to setClip(node). However, normally [...]

By |2021-02-18T13:42:29+01:00February 18th, 2015|ControlsFX, Java, JavaFX, Tips & Tricks|3 Comments

JavaFX Tip 17: Animated Workbench Layout with AnchorPane

I recently had to implement a layout for an application where the menu area and the status area could be hidden or shown with a slide-in / slide-out animation based on whether the user was logged in or not. The following video shows the the layout in action: [youtube=http://youtu.be/cKXFG4pAoys] Update: a new video shows even better how the panes slide in and out. [youtube=http://youtu.be/qdplhq1KJLs] In the past I probably would have implemented this kind of behavior with a custom control and custom layout code (as in "override layoutChildren() method in skin"). But this time my setup was different because I [...]

By |2021-02-18T13:42:29+01:00February 6th, 2015|Java, JavaFX, Tips & Tricks|4 Comments

JavaFX Tip 16: Undecorated & Transparent Stages

Last week I had some fun playing around with the "Undecorator" classes from Arnaud Nouard. I was looking into it because I was thinking about writing a JavaFX showcase application that integrates / lists the various resources available for JavaFX development. My goal for this application is to come up with something very slick and sexy, something unconventional, something with a lot of animations and cool effects. So I started by taking over full control of the appearance of the stage by using "Undecorator". With the apperance of Yosemite transparent stages / windows are the way to go so I wanted [...]

By |2021-02-18T13:42:30+01:00November 17th, 2014|JavaFX, Tips & Tricks|8 Comments

JavaFX Resources

I have started putting together a list of JavaFX-related resources such as blogs, open source projects, frameworks, commercial products, etc... You can find it here. I just started this list and will refine it over time. I would very much appreciate it if others send me suggestions on what to add to it.

By |2021-02-18T13:42:30+01:00November 13th, 2014|JavaFX|0 Comments

JavaFX Tip 15: ListView Autoscrolling

I recently had to implement autoscrolling functionality for FlexGanttFX and thought that my solution might be useful for others. You find the basic concepts of it in the listing below. The main idea is that a background thread is used to adjust the pixel location of the virtual flow node used by the list view. The thread starts when a drag over is detected "close" to the top or bottom edges. "Close" is defined by a proximity variable. This code can obviously be improved by using a property for the proximity value and the types "Task" and "Service" for the [...]

By |2021-02-18T13:42:30+01:00October 31st, 2014|JavaFX, Tips & Tricks|5 Comments

2015: The Year When JavaFX Takes Over

  I must say that I very much enjoy using Google trends to evaluate the importance of a technology and to see what its future will look like. So today I ran a comparison between "Java Swing" and "JavaFX". The result shows two things: once we enter the next year JavaFX will be more relevant than Swing but JavaFX will not be that relevant either. I think this is totally wrong. Based on the feedback I am getting from the community and also on the projects that I had contact with I foresee a rapid increase in JavaFX usage (and Google [...]

By |2021-02-18T13:42:30+01:00October 27th, 2014|ControlsFX, FlexGantt, JavaFX, Swing|4 Comments

New Custom Control: TaskProgressView

I have written a new custom control and commited it to the ControlsFX project. It is a highly specialized control for showing a list of background tasks, their current status and progress. This is actually the first control I have written for ControlsFX just for the fun of it, meaning I do not have a use case for it myself (but sure one will come eventually). The screenshot below shows the control in action. If you are already familiar with the javafx.concurrent.Task class you will quickly grasp that the control shows the value of its title, message, and progress properties. [...]

By |2021-02-18T13:42:30+01:00October 13th, 2014|ControlsFX, JavaFX, Tips & Tricks|9 Comments

FlexGanttFX: First JavaFX Component on ComponentSource

Yesterday FlexGanttFX has become the first JavaFX component in the product catalog of ComponentSource.com. You can find the entry here. ComponentSource is an international reseller of software components, basically the "App Store" of custom controls.  The fact that FlexGanttFX has been listed shows that the market is reacting and that JavaFX is gaining acceptance.

By |2021-02-18T13:42:30+01:00September 20th, 2014|FlexGantt, JavaFX|1 Comment

New Release: FlexGanttFX 1.0.0

I finally managed to put together a 1.0.0 production-ready release of FlexGanttFX. After two early access releases at the beginning of the year I put in a lot of hours to get the framework to a maturity level that I deem to be high enough for real-world application development. The release can be downloaded from the product website at http://www.flexganttfx.com. I would recommend to run the three standalone demos in this distribution to get an idea of FlexGanttFX's capabilities. FlexGanttFX is much bigger than a regular JavaFX control. The view consists of 83 and the model of 58 classes. [...]

By |2021-02-18T13:42:30+01:00September 2nd, 2014|ControlsFX, FlexGantt, JavaFX|4 Comments