Support for JavaFX 2 in IntelliJ IDEA 12.1
Having Java 7 installed you may create a new demo project based on JavaFX Application template:
On clicking finish you’ll get a template application ready to run:
There is a .fxml file describing sample layout, controller with handler and the main class. This is already sufficient to start an application and see the results.
Probably you would like to change some names. IntelliJ IDEA will help you to do this and will update all usages in .fxml files as well, e.g.
This means also that navigation between controller class, it’s fields and method handlers works.
In order to change the layout completely you will probably need to open SceneBuilder. Just point IntelliJ IDEA to the Scene Builder installation via File | Settings | JavaFX and call Open in SceneBuilder action via Help | Find Action | Open in SceneBuilder on the layout file.
If you need to make a small change IntelliJ IDEA could help you with smart completion of tags, attributes and even constants:
That’s all for today. In the next post we’ll show how can IntelliJ IDEA help you to skin your JavaFX Application with CSS.
Develop with Pleasure!
Subscribe to Blog updates
Thanks, we've got you!
The What, Why, and How of JPA Buddy in IntelliJ IDEA
Master JPA entity management with JPA Buddy in IntelliJ IDEA! Our latest article shows you how to simplify your workflow and reduce boilerplate code.
The Best of IntelliJ IDEA’s HTTP Client
In today's fast-paced tech world, easy and efficient management of web services and APIs is crucial. That's where IntelliJ IDEA's HTTP Client steps in, turning complex HTTP requests into a walk in the park. The HTTP Client is a feature-rich, text-based tool in IntelliJ IDEA Ultimate. It seamlessl…
Import Postman Collections to the HTTP Client
We know that many of you use Postman collections and want to stay in the flow while working with them. This means staying inside IntelliJ IDEA and not switching to a different app. Great news! You can now effortlessly transform Postman collections into .http and use them in the HTTP Client …
What’s New in IntelliJ IDEA 2023.1 for Spring Developers
The IntelliJ IDEA 2023.1 release came packed with updates for Spring. This blog post will highlight the most noticeable changes, including full support for Lombok, a reworked Spring tool window, navigation for Spring Security rules, Spring Security 6 support, and more. Remember that these featur…