-1
当我运行下面的代码时,会出现单选按钮,但不是按钮旁边显示的文本,只有3个三个小点'...'。请问为什么?为什么只显示3个点而不显示全文?
RadioButton rd= new RadioButton("Hello");
rd.setPrefSize(500, 500)
HBox hB = new HBox();
myDialog.getDialogPane().getChildren().add(hB);
hB.getChildren().add(rd);
hB.setPrefSize(500, 500);
hB.setLayoutX(100);
hB.setLayoutY(200);