Warning: Declaration of Bootstrap_Walker_Nav_Menu::start_lvl(&$output, $depth) should be compatible with Walker_Nav_Menu::start_lvl(&$output, $depth = 0, $args = Array) in /homepages/10/d412081534/htdocs/clickandbuilds/WordPress/wordpress/wp-content/themes/stanleywp/functions/function-extras.php on line 61
JavaFX Development | buildpath.de

JavaFX Development

Swing2JavaFX Live Coding Example (WJAX)

Last week I did some Swing2JavaFX Live Coding on the WJAX in Munich (Details). Therefore I migrated a random Swing client from GitHub partially to JavaFX. I created a fork and a screencast (German), which gives you an impression, which

Posted in javafx | Leave a comment

How to test JavaFX Services

In this post we want to take a look on how to write an integration test for a JavaFX Service.  Our showcase is a Service that performs a login and signals whether the login was successful or not. Please have a look on

Posted in javafx | Leave a comment

JavaFX Testrunner

  I deployed a small JUnit TestRunner based on http://awhite.blogspot.de/2013/04/javafx-junit-testing.html into the maven central repository. Project on GitHub You can use it by adding the following dependency to your project: <dependency> <groupId>de.saxsys</groupId> <artifactId>jfx-testrunner</artifactId> <version>1.0</version> </dependency> Some JavaFX components does need the JavaFX-Application to be

Posted in javafx | Leave a comment

JavaFX – Decouple the View and its behavior to create a testable UI

The behavior of an UI is a complex state machine which should be tested. This can be done not only by automated UI-tests, but also with Unit Tests. It’s not easy to write Unit Tests for UIs,  because you need to decouple the state

Posted in javafx | Tagged , , , | 5 Comments

FXML composition – how to get the controller of an included FXML?

The possibility to declare the UI with an FXML in JavaFX is pretty cool. In bigger applications you have to split the views in different FXMLs which allows you to reuse and compose them in complex FXMLs. Therefore you have to use the

Posted in javafx | Tagged , , | 9 Comments