Qubit Posted April 20, 2017 Share Posted April 20, 2017 So I have an hbox, that shows images. The only problem I need a button to be displayed over the images. Anyone have an idea to do this? Since I use a hbox pane to display the images, I can't just set the background to the image.. e.g below) Quote Link to comment Share on other sites More sharing options...
Easy Posted April 20, 2017 Share Posted April 20, 2017 (edited) hbox.getChildren().addAll(button1); https://docs.oracle.com/javafx/2/api/javafx/scene/layout/HBox.html Edited April 20, 2017 by Easy Quote Link to comment Share on other sites More sharing options...
Qubit Posted April 20, 2017 Author Share Posted April 20, 2017 11 minutes ago, Easy said: hbox.getChildren().addAll(button1); https://docs.oracle.com/javafx/2/api/javafx/scene/layout/HBox.html That would just add the button to the hbox... I want it to overlay the hbox Quote Link to comment Share on other sites More sharing options...
Qubit Posted April 20, 2017 Author Share Posted April 20, 2017 solved... Quote Link to comment Share on other sites More sharing options...