import javafx.application.Application; 
import javafx.scene.Scene; 
import javafx.scene.control.Label; 
import javafx.scene.layout.BorderPane; 
import javafx.stage.Stage; 
import javafx.stage.StageStyle; 

public class WindowsKeyShortcut extends Application { 
    @Override 
    public void start(Stage primaryStage) throws Exception { 
        BorderPane root = new BorderPane(new Label("Try the Windows Key with each arrow key.")); 
        Scene theScene = new Scene(root); 
        primaryStage.setScene(theScene); 


        primaryStage.initStyle(StageStyle.UNDECORATED); //StageStyle.TRANSPARENT also does not work
        primaryStage.show(); 
    } 

} 
