Fixed raw use of parameterized class 'JFXComboBox'
This commit is contained in:
parent
91daf95990
commit
a4ce8940ab
@ -34,8 +34,6 @@ public class OptionController {
|
|||||||
@FXML
|
@FXML
|
||||||
public Label labelError;
|
public Label labelError;
|
||||||
@FXML
|
@FXML
|
||||||
public JFXComboBox<String> userCmb;
|
|
||||||
@FXML
|
|
||||||
public GridPane mainGrid;
|
public GridPane mainGrid;
|
||||||
|
|
||||||
@FXML
|
@FXML
|
||||||
@ -52,7 +50,7 @@ public class OptionController {
|
|||||||
for (User user: users) {
|
for (User user: users) {
|
||||||
observableUserList.add(user.getLogin());
|
observableUserList.add(user.getLogin());
|
||||||
}
|
}
|
||||||
JFXComboBox comboBox = new JFXComboBox(observableUserList);
|
JFXComboBox<String> comboBox = new JFXComboBox<>(observableUserList);
|
||||||
comboBox.getStyleClass().add("comboBox");
|
comboBox.getStyleClass().add("comboBox");
|
||||||
mainGrid.add(comboBox, 2,2);
|
mainGrid.add(comboBox, 2,2);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user