Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is the recommended way of adding a status bar to a JavaFX app?

Should I use the BorderPane layout and add a label at the bottom?

Is there a better way?

like image 585
Darth Ninja Avatar asked Dec 02 '15 03:12

Darth Ninja


2 Answers

I ended up using a VBox for my usecase. But the BorderPane can work equally well - depends on your usecase. If others have better suggestions feel free to chime in.

like image 196
Darth Ninja Avatar answered Sep 19 '22 21:09

Darth Ninja


It depends a bit on what you want to do with it but the ControlsFX package has a dedicated StatusBar. May be it is worth having a look at it.

https://controlsfx.bitbucket.io/org/controlsfx/control/StatusBar.html

like image 30
mipa Avatar answered Sep 21 '22 21:09

mipa