private HBox createTimeChooser(){
final HBox hBox = new HBox(3);
hBox.setAlignment(Pos.CENTER_LEFT);
final ComboBox<Integer> hour = new ComboBox<Integer>();
hour.setConverter(new IntegerStringConverter());
hour.valueProperty().bindBidirectional(model.hour);
hour.setEditable(true);
hour.setPrefWidth(20);
for (int i=0;i<24;i++){
hour.getItems().add(i);
}
final ComboBox<Integer> minute = new ComboBox<Integer>();
for (int i=1;i<61;i++){
minute.getItems().add(i);
}
minute.valueProperty().bindBidirectional(model.minute);
minute.setEditable(true);
minute.setConverter(new IntegerStringConverter());
minute.setPrefWidth(20);
final ComboBox<Integer> secound = new ComboBox<Integer>();
for (int i=1;i<61;i++){
secound.getItems().add(i);
}
secound.valueProperty().bindBidirectional(model.secound);
secound.setEditable(true);
secound.setConverter(new IntegerStringConverter());
secound.setPrefWidth(20);
hBox.getChildren().add(new Label("Time"));
hBox.getChildren().add(hour);
hBox.getChildren().add(new Label(":"));
hBox.getChildren().add(minute);