I have a Datepicker in Javafx 8. I have used this Code but it not take the komplett Size for the Views
final DatePicker datePicker = new DatePicker(LocalDate.now());
DatePickerSkin datePickerSkin = new DatePickerSkin(datePicker);
javafx.scene.Node popupContent = datePickerSkin.getPopupContent();
datePicker.setMaxHeight(6000.);
datePicker.setMinHeight(6000.);
datePicker.setPrefHeight(6000.);
datePicker.setOnAction((event) -> {
LocalDate date = datePicker.getValue();
System.err.println("Selected date: " + date);
});
primary1.setTop(popupContent);
I want to make it (Datepicker) fullscreen.