今回はJavaFXを使って物体を動かし、おまけでランダムで色を表示するプログラムを作成した。その作成方法を、今回紹介する。 前準備編 今回はJavaFXの導入等は終わらせている前提で進めていくため、要望があれば別途作成することにする所存である。
JavaFXでのGUIの構造とイベント駆動について、前回まで3回にわたって解説してきました。FXMLとコントローラクラスを使用することで、構造をFXML、イベント処理をコントローラクラスを分離して記述できます。 しかし、FXMLをエディタで記述することは ...
Ever wonder how to create your own Maven 3 Plugin? This tutorial goes right to the point and shows you how develop your own custom Maven 3 plugin in under 15 minutes. We'll cover building a @Mojo ...
In October 2011, I used the post Hello JavaFX 2.0: Introduction by NetBeans 7.1 beta to look at using NetBeans 7.1 beta to build a simple Hello, World style of JavaFX 2.0 application. In this post, I ...
The FXML file that contains the description of the user interface is the view. The controller is a Java class, optionally implementing theInitializable class, which is declared as the controller for ...