@@ -0,0 +1,1740 @@
+/*%0A * To change this license header, choose License Headers in Project Properties.%0A * To change this template file, choose Tools %7C Templates%0A * and open the template in the editor.%0A */%0Apackage gopro;%0A%0Aimport java.awt.Color;%0Aimport java.awt.Desktop;%0Aimport java.awt.Font;%0Aimport static java.awt.Font.CENTER_BASELINE;%0Aimport java.io.File;%0Aimport java.io.IOException;%0Aimport javafx.application.Application;%0Aimport javafx.event.ActionEvent;%0Aimport javafx.event.EventHandler;%0Aimport javafx.fxml.*;%0Aimport javafx.scene.Scene;%0Aimport javafx.scene.control.Button;%0Aimport javafx.scene.control.Label;%0Aimport javafx.scene.layout.StackPane;%0Aimport javafx.stage.Stage;%0Aimport javafx.scene.*;%0Aimport javafx.scene.control.TextField;%0Aimport javafx.stage.FileChooser;%0Aimport javafx.stage.FileChooser.ExtensionFilter;%0A%0A/**%0A *%0A * @author fsshakkhor%0A */%0Apublic class GoPro extends Application %7B%0A    %0A    private Desktop desktop = Desktop.getDesktop();%0A    @Override public void start(Stage primaryStage) throws IOException %7B%0A        primaryStage.setTitle(%22Some Kind of Application%22);%0A%0A        FileChooser fileChooser = new FileChooser();%0A        fileChooser.setTitle(%22Open Resource File%22);%0A        %0A        fileChooser.getExtensionFilters().addAll(%0A        new ExtensionFilter(%22Text Files%22, %22*.txt%22),%0A        new ExtensionFilter(%22Image Files%22, %22*.png%22, %22*.jpg%22, %22*.gif%22),%0A        new ExtensionFilter(%22Audio Files%22, %22*.wav%22, %22*.mp3%22, %22*.aac%22),%0A        new ExtensionFilter(%22All Files%22, %22*.*%22));%0A        %0A            %0A        File selectedFile = fileChooser.showOpenDialog(primaryStage);%0A        if (selectedFile != null) %7B%0A             desktop.open(selectedFile);%0A        %7D%0A%0A    %7D%0A%0A    public static void main(String%5B%5D args) %7B%0A        launch(args);%0A    %7D%0A    %0A%7D%0A

Create FileChooser.java