I'm using JavaObject to create a wrapper for some of the layout (HBox/VBox) controls using JavaObject and am wondering how access/use the "javafx.geometry.Pos" enum.
For reference, the method I'm trying to run is "setAlignment" which can only be set with Pos.
Edit: Dang it, I solved it: When I was adding the HBox node to the MainForm's RootPane, I was using 0 as the width and height. I changed the width and height to the width and height of MainForm and it works.
JavaObject is one amazing and powerful beast!
For reference, the method I'm trying to run is "setAlignment" which can only be set with Pos.
Edit: Dang it, I solved it: When I was adding the HBox node to the MainForm's RootPane, I was using 0 as the width and height. I changed the width and height to the width and height of MainForm and it works.
JavaObject is one amazing and powerful beast!
Last edited: