0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

intelliJでJMetroを導入する

Last updated at Posted at 2020-04-28

intelliJでJMetro

javafxとJmetroでwin10っぽいGUIをつくる

環境

  • intelliJ IDEA community 2020.1
  • java_version 1.8.0_202
  • javaFx 8

JMetroとは?

image.gif
image.gif
JMetroのサイトから引用
win10っぽいモダンなGUIが実装できるテーマのようなもの
intelliJ素人なので勘弁してください

手順

  1. Ctrl + Shift + Alt + Sで設定を開く

  2. Library-> +ボタン ->From Maven ...を選択
    unknown (1).png

  3. バージョンを確認する
    https://github.com/JFXtras/jfxtras-styles/tags

  4. jmetroで検索してバージョンを選択
    unknown (2).png

  5. インポートする

import jfxtras.styles.jmetro.JMetro;
import jfxtras.styles.jmetro.Style;
  1. コントローラ側に以下を追加
JMetro jMetro = new JMetro(Style.LIGHT);
jMetro.setScene(シーン名);
  1. 動いたら実装!
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?