今月は、GUIの見ばえを決めるスタイリングについて紹介します。 Swingではコンポーネントのプロパティでフォントや色などを設定します。しかし、たとえばアプリケーション全体のフォントを設定したいような場合、意外にやっかいです。 一方で、Swingでは ...
JavaFX provides certain colors by default when rendering charts. There are situations, however, when one wants to customize these colors. In this blog post I look at changing the colors of a JavaFX ...
For this lab, we'll keep our project structure simple with just the essential files. We'll have one main Java file containing all our JavaFX code and a CSS file for styling: Our Main.java file will ...
This extension supports JavaFX CSS. JavaFX CSS properties appear as autocomplete suggestions. Documentation descriptions can be added to these properties. The ...
では、早速サンプルを作ってJavaFXを試すとしよう。最初に作成するサンプルは、ウィンドウに"Hello, JavaFX"と表示するだけの単純なサンプルだ。 以下のコードをエディタにコピー&ペーストして、「HelloWorld.fx」という名前で保存する。なお、JavaFXのソース ...
SIベンダーの佐藤システム設計事務所は2012年7月24日、リッチクライアント技術の「JavaFX」を使ったWebシステムを開発するためのフレームワーク「JavaFX: JFX業務システム」(写真)を発表した。JavaFXアプリケーションの「ひな型」やノウハウなどで構成する。
In recent posts on JavaFX, I have focused on using JavaFX 2.0’s new Java APIs without use of the JavaFX 1.x’s JavaFXScript and without use of JavaFX 2.0’s new FXML. All of these examples have been ...