-
Bug
-
Resolution: Cannot Reproduce
-
P3
-
8
-
jdk 1.8.0-ea-b56
Run this code :
@Override
public void start(Stage stage) throws Exception {
BorderPane root = new BorderPane();
Accordion accordion = new Accordion();
TitledPane pane1 = TitledPaneBuilder.create().text("123456789").content(new Label("Text")).build();
TitledPane pane2 = TitledPaneBuilder.create().text("Title 2").content(new Label("Text")).build();
accordion.setMaxSize(100, 100);
accordion.setExpandedPane(pane2);
accordion.getPanes().addAll(pane1, pane2);
root.setCenter(accordion);
Slider slider = new Slider(0, 360, 10);
slider.setValue(45);
accordion.rotateProperty().bindBidirectional(slider.valueProperty());
root.setTop(slider);
Scene scene = new Scene(root, 300, 300);
stage.setScene(scene);
stage.show();
stage.setTitle(VersionInfo.getRuntimeVersion());
}
@Override
public void start(Stage stage) throws Exception {
BorderPane root = new BorderPane();
Accordion accordion = new Accordion();
TitledPane pane1 = TitledPaneBuilder.create().text("123456789").content(new Label("Text")).build();
TitledPane pane2 = TitledPaneBuilder.create().text("Title 2").content(new Label("Text")).build();
accordion.setMaxSize(100, 100);
accordion.setExpandedPane(pane2);
accordion.getPanes().addAll(pane1, pane2);
root.setCenter(accordion);
Slider slider = new Slider(0, 360, 10);
slider.setValue(45);
accordion.rotateProperty().bindBidirectional(slider.valueProperty());
root.setTop(slider);
Scene scene = new Scene(root, 300, 300);
stage.setScene(scene);
stage.show();
stage.setTitle(VersionInfo.getRuntimeVersion());
}