Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
指定されたフォントのフォント スタイル (太字、斜体など) を取得したい。
現在、javafx.scene.text.Font.getFamilies() を使用してコンボボックスでフォント リストを取得していますが、メモ帳のように各フォントのフォント スタイルを取得したいと考えています。
これらのフォント スタイルのリストを取得し、それを使用して demo_text_area という名前の特定の TextArea のプロパティを設定する方法を教えてください。