Home » Tag Archives: JavaFX (page 4)

Tag Archives: JavaFX

JavaFX Tip 1: Resizable Canvas

javafx-logo

While working on FlexGanttFX I had to deal a lot with the JavaFX Canvas node. I am using it to render activities on a timeline. Each row in the Gantt chart is a Canvas node. The user has the option to resize each row individually. So I had to figure out the best way to resize a canvas, which out-of-the-box is not ...

Read More »

Tower Defense in JavaFX (6)

javafx-logo

So we’re at part 6 of this tutorial already, and the game has come a long way in the meantime. In this part we’ll finally add a Layer that shows the score, the number of Enemies that have reached their target, a button to start the next Wave, and the money left to buy new turrets. Speaking of money, we ...

Read More »

Tower Defense in JavaFX (5)

javafx-logo

This is part 5 of this ongoing tutorial on creating a Tower Defense Game in JavaFX using the FXGameEngine. The enemies now fly on their attack path to the target, and the Turrets aim and shoot at them. So the most important parts are there, but there are still a lot of details missing. The game simply starts and doesn’t ...

Read More »

Java 8 Released! — Lambdas Tutorial

javafx-logo

To celebrate the release of Java 8 which was released just minutes ago, I am publishing a draft version of my Java 8 Lambdas Tutorial.  It is a nice visual way to learn the Streams API, and will help you get started taking advantage of lambdas in your own applications from day 1.  This article is scheduled to appear in ...

Read More »

Tower Defense in JavaFX (4)

javafx-logo

Ok, so far we’ve created a TileMap, displayed it on screen and made it editable in the first part. In the second part we implemented calculation of the attack path using the A* algorithm and made the enemies follow that path. In part three we created some custom TileSetAnimations so we can rotate the Insectoids around their center by an ...

Read More »

Something to hide? You need HiddenSidesPane

javafx-logo

One of my Gantt chart users wanted to use as much real estate on the screen as possible and asked if the scrollbars could be removed. But how do you navigate without scrollbars? Ok, there are all kinds of keyboard shortcuts and of course the usual mouse drag already supported by FlexGanttFX, but a visual control like a scrollbar is ...

Read More »

JavaFX Custom Control – Nest Thermostat Part 3

javafx-logo

Hi, after some discussions with my colleagues, I decided today to show that the css approach is not the only one that can be used to create a custom control. Of course it allows to offer some look and feel extension point, but the same approach (working with svand transfering to JavaFX) can be used using code API. Here is ...

Read More »

JavaFX Custom Control – Nest Thermostat Part 2

javafx-logo

I’ts been a while since I started to create the Nest thermostat FX custom control ! So last time, as suggested by Gerrit Grunwald I took some time to reproduce the Nest thermostat design with inkscape, as a first step to build a JavaFX version of it. Today I’d like to share with you the mistakes I made when trying ...

Read More »

JavaFX Custom Control – Nest Thermostat Part 1

javafx-logo

Tow weeks ago, I decided to spend some time watching some of the JavaOne talks about JavaFX, thanks to this excellent post from Hendrik Ebbers. I have to say I’ve learned so much already, just watching theses video (even if I have not finished yet) ! Gerrit’s Talk on “Use the Force, Luke” or Tips and Tricks for Using the Capabilities ...

Read More »

Skinning in Java8 (JavaFX8)

javafx-logo

There has been some changes in JavaFX8 regarding skinning, the most relevants of which are the new CSS API that allows you to create new CSS properties and pseudo-classes for your controls and the Skin class which has become public. Using CSS you can change a lot of the appearance of a control, but there is only so much you ...

Read More »
Do you want to know how to develop your skillset and become a ...

Subscribe to our newsletter to start Rocking right now!

To get you started we give you our best selling eBooks for FREE!
Get ready to Rock!
To download the books, please verify your email address by following the instructions found on the email we just sent you.

THANK YOU!

Close