例として、簡単なイベント処理を伴うJavaFXアプリケーションを作成してみよう。作成するのは以下のようなアプリケーションで、四角形の領域にマウスが重なると色を変更するというものだ。 ソースコードは以下の通りだ。Rectangleは四角形を描画する ...
Jeff Friesen continues his comprehensive introduction to the JavaFX APIs, based on JavaFX Preview SDK, with a look at how JavaFX handles media, GUI construction, and ...