-
Bug
-
Resolution: Cannot Reproduce
-
P5
-
8
-
b101
import com.sun.javafx.runtime.VersionInfo;
import javafx.application.Application;
import javafx.event.ActionEvent;
import javafx.event.EventHandler;
import javafx.scene.Scene;
import javafx.scene.control.Button;
import javafx.scene.control.ComboBox;
import javafx.scene.control.DatePicker;
import javafx.scene.layout.HBox;
import javafx.scene.paint.Color;
import javafx.scene.shape.Circle;
import javafx.stage.Stage;
import java.time.chrono.Chronology;
public class DatePickerApp extends Application {
public static void main(String[] args) {
launch(args);
}
@Override
public void start(Stage stage) throws Exception {
stage.setTitle(VersionInfo.getRuntimeVersion());
stage.setScene(createScene());
stage.show();
}
private Scene createScene() {
final DatePicker datePicker = new DatePicker();
datePicker.setChronology(Chronology.of("Hijrah-umalqura"));
HBox root = new HBox();
root.getChildren().add(datePicker);
return new Scene(root, 400, 300);
}
}
import javafx.application.Application;
import javafx.event.ActionEvent;
import javafx.event.EventHandler;
import javafx.scene.Scene;
import javafx.scene.control.Button;
import javafx.scene.control.ComboBox;
import javafx.scene.control.DatePicker;
import javafx.scene.layout.HBox;
import javafx.scene.paint.Color;
import javafx.scene.shape.Circle;
import javafx.stage.Stage;
import java.time.chrono.Chronology;
public class DatePickerApp extends Application {
public static void main(String[] args) {
launch(args);
}
@Override
public void start(Stage stage) throws Exception {
stage.setTitle(VersionInfo.getRuntimeVersion());
stage.setScene(createScene());
stage.show();
}
private Scene createScene() {
final DatePicker datePicker = new DatePicker();
datePicker.setChronology(Chronology.of("Hijrah-umalqura"));
HBox root = new HBox();
root.getChildren().add(datePicker);
return new Scene(root, 400, 300);
}
}