Created
February 18, 2015 15:45
-
-
Save oddbjornkvalsund/6a62fc7633760a81c672 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import javafx.application.Application; | |
import javafx.scene.Group; | |
import javafx.scene.Scene; | |
import javafx.scene.text.Text; | |
import javafx.stage.Stage; | |
public class MonocleApplication extends Application { | |
@Override | |
public void start(Stage primaryStage) throws Exception { | |
final Text node = new Text("A Text node."); | |
// final Label node = new Label("A Label node"); | |
// node.setStyle("-fx-effect: dropshadow(gaussian, rgba(255, 255, 255, 0.5), 0, 0, 0, 1)"); | |
primaryStage.setScene(new Scene(new Group(node))); | |
primaryStage.show(); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment