Skip to content

Instantly share code, notes, and snippets.

@oddbjornkvalsund
Created February 18, 2015 15:45
Show Gist options
  • Save oddbjornkvalsund/6a62fc7633760a81c672 to your computer and use it in GitHub Desktop.
Save oddbjornkvalsund/6a62fc7633760a81c672 to your computer and use it in GitHub Desktop.
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