use of blue.jfx.controls.ValuePanel in project blue by kunstmusik.
the class BlueJFXControlsApplication method start.
@Override
public void start(Stage stage) throws Exception {
TabPane root = new TabPane();
root.getTabs().add(new Tab("Knob", new Knob()));
root.getTabs().add(new Tab("ValuePanel", new ValuePanel()));
setupKnobs(root);
setupTextFieldsTest(root);
setupButtonsTest(root);
setTablesTest(root);
setTreeViewTest(root);
ComboBox cb = new ComboBox(FXCollections.observableArrayList("Test 1", "Test 2", "Test 3"));
root.getTabs().add(new Tab("ComboBox", cb));
Scene scene = new Scene(new BorderPane(root));
BlueFX.style(scene);
stage.setScene(scene);
stage.show();
stage.onHiddenProperty().addListener(a -> LifecycleManager.getDefault().exit());
// SimpleCSSEditor.editCSS(root);
}
Aggregations