Guest User

CSS bug

a guest
Mar 20th, 2014
56
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. import javafx.application.Application;
  2. import javafx.scene.Scene;
  3. import javafx.scene.control.Label;
  4. import javafx.stage.Stage;
  5.  
  6.  
  7. /**
  8.  *  Main class for the "Hello World" style example
  9.  */
  10. public class Main extends Application {
  11.  
  12.   /**
  13.    * @param args the command line arguments
  14.    */
  15.   public static void main(String[] args) {
  16.     Application.launch(args);
  17.   }
  18.  
  19.   @Override
  20.   public void start(Stage stage) {
  21.    
  22.       Label label = new Label();
  23.       label.setStyle(" -fx-border-style:dashed; -fx-border-width:0; ");
  24.       label.setText("test");
  25.      
  26.       Scene scene = new Scene(label, 300, 500);
  27.       stage.setScene(scene);
  28.       stage.show();
  29.      
  30.   }
  31. }
RAW Paste Data

Adblocker detected! Please consider disabling it...

We've detected AdBlock Plus or some other adblocking software preventing Pastebin.com from fully loading.

We don't have any obnoxious sound, or popup ads, we actively block these annoying types of ads!

Please add Pastebin.com to your ad blocker whitelist or disable your adblocking software.

×