Cannot invoke “javafx.scene.layout.HBox.setPrefWidth(double)” because “this.pane” is null

后端 未结 0 1299
孤街浪徒
孤街浪徒 2020-12-08 21:19

I\'m trying to create a simple (experimental) custom title bar, I want to expand HBox along with the stage:

@FXML 
private HBox pane;
private static Stage sta         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题