Issue
Tell me please, how add button HELP to the title Stage with JavaFX. I'm use Linux.
Solution
Preface:
You can't modify the title bar of Stages in JavaFX.
Workaround solution:
Build your own title bar, add it to top of your Scene, and remove the original title bar.
- Use
BorderPaneas root node of yourScene. - Create your title bar in the "top" Part of the
BorderPane. - Remove the original
Stagetitle bar withstage.initStyle(StageStyle.UNDECORATED);.
Answered By - David Weber

0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.