Custom title bar in Javafx 2.0?

前端 未结 2 1107
醉话见心
醉话见心 2021-01-14 08:15

Is there any tutorial on how to create custom title bar in javafx 2.0? I am creating a desktop GUI app and want to have a black gradient title bar with custom buttons for mi

2条回答
  •  囚心锁ツ
    2021-01-14 08:27

    I don't think it's possible to modify the title bar directly. One of the solution could be to remove the platform decorations and add your custom "title bar" to the top of your windows. Here for an example : JavaFX primaryStage remove windows borders?

提交回复
热议问题