Guest User

Untitled

a guest
Oct 25th, 2013
82
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. public class test extends Application{
  2.  
  3.     public void start(Stage primaryStage) throws Exception {
  4.         primaryStage.setTitle("testApp");
  5.  
  6.         Label text = new Label("Sample test");
  7.         text.setStyle("-fx-font-style : italic; -fx-font-weight : bold");
  8.        
  9.         final Scene scene = new Scene(text, 600, 400);
  10.         primaryStage.setScene(scene);
  11.         primaryStage.show();
  12.        
  13.     }
  14.    
  15.     public static void main(String[] args) {
  16.         launch(args);
  17.     }
  18.  
  19. }
RAW Paste Data