List of usage examples for javafx.scene Scene setFill
public final void setFill(Paint value)
From source file:Main.java
@Override public void start(Stage stage) { ChoiceBox<String> choiceBox = new ChoiceBox<String>(cursors); System.out.println(choiceBox.itemsProperty()); VBox box = new VBox(); box.getChildren().add(choiceBox);/*from ww w. j a v a 2s . c om*/ final Scene scene = new Scene(box, 300, 250); scene.setFill(null); stage.setScene(scene); stage.show(); }
From source file:Main.java
@Override public void start(Stage stage) { ChoiceBox<String> choiceBox = new ChoiceBox<String>(cursors); System.out.println(choiceBox.selectionModelProperty()); VBox box = new VBox(); box.getChildren().add(choiceBox);//from ww w . j a v a 2s. c o m final Scene scene = new Scene(box, 300, 250); scene.setFill(null); stage.setScene(scene); stage.show(); }
From source file:Main.java
@Override public void start(Stage stage) { ChoiceBox choiceBox = new ChoiceBox(cursors); System.out.println(choiceBox.getItems()); VBox box = new VBox(); box.getChildren().add(choiceBox);//from www. java 2 s.c o m final Scene scene = new Scene(box, 300, 250); scene.setFill(null); stage.setScene(scene); stage.show(); }
From source file:Main.java
@Override public void start(Stage stage) { ChoiceBox<String> choiceBox = new ChoiceBox<String>(cursors); System.out.println(choiceBox.getValue()); VBox box = new VBox(); box.getChildren().add(choiceBox);/*from w w w. java 2 s . c o m*/ final Scene scene = new Scene(box, 300, 250); scene.setFill(null); stage.setScene(scene); stage.show(); }
From source file:Main.java
@Override public void start(Stage stage) { ChoiceBox<String> choiceBox = new ChoiceBox<String>(); choiceBox.setItems(cursors);/*w w w . ja v a2 s.co m*/ VBox box = new VBox(); box.getChildren().add(choiceBox); final Scene scene = new Scene(box, 300, 250); scene.setFill(null); stage.setScene(scene); stage.show(); }
From source file:Main.java
@Override public void start(Stage stage) { ChoiceBox choiceBox = new ChoiceBox(cursors); System.out.println(choiceBox.getConverter()); VBox box = new VBox(); box.getChildren().add(choiceBox);/* w w w .ja v a2s .c o m*/ final Scene scene = new Scene(box, 300, 250); scene.setFill(null); stage.setScene(scene); stage.show(); }
From source file:Main.java
@Override public void start(Stage stage) { ChoiceBox<String> choiceBox = new ChoiceBox<String>(cursors); choiceBox.hide();/*from www. j a v a2 s.c o m*/ VBox box = new VBox(); box.getChildren().add(choiceBox); final Scene scene = new Scene(box, 300, 250); scene.setFill(null); stage.setScene(scene); stage.show(); }
From source file:Main.java
@Override public void start(Stage stage) { ChoiceBox<String> choiceBox = new ChoiceBox<String>(cursors); System.out.println(choiceBox.isShowing()); VBox box = new VBox(); box.getChildren().add(choiceBox);//from w w w . j av a 2 s . c o m final Scene scene = new Scene(box, 300, 250); scene.setFill(null); stage.setScene(scene); stage.show(); }
From source file:Main.java
@Override public void start(Stage stage) { stage.initStyle(StageStyle.UNDECORATED); Text text = new Text("Transparent!"); text.setFont(new Font(40)); VBox box = new VBox(); box.getChildren().add(text);// w ww . java 2 s . c om final Scene scene = new Scene(box, 300, 250); scene.setFill(null); stage.setScene(scene); stage.show(); scene.setCursor(Cursor.WAIT); }
From source file:Main.java
@Override public void start(Stage stage) { ChoiceBox<String> choiceBox = new ChoiceBox<String>(); choiceBox.setItems(cursors);/*from w w w . jav a 2s.c o m*/ choiceBox.show(); VBox box = new VBox(); box.getChildren().add(choiceBox); final Scene scene = new Scene(box, 300, 250); scene.setFill(null); stage.setScene(scene); stage.show(); }