@@ -0,0 +1,1646 @@
+package parser;%0A %0Aimport java.io.File;%0Aimport javafx.application.Application;%0Aimport javafx.event.ActionEvent;%0Aimport javafx.event.EventHandler;%0Aimport javafx.scene.Scene;%0Aimport javafx.scene.control.Button;%0Aimport javafx.scene.control.Label;%0Aimport javafx.scene.layout.StackPane;%0Aimport javafx.scene.layout.VBox;%0Aimport javafx.stage.FileChooser;%0Aimport javafx.stage.Stage;%0A %0Apublic class FilePicker extends Application %7B%0A %0A  File file;%0A %0A  /**%0A   * @param args the command line arguments%0A   */%0A  public static void main(String%5B%5D args) %7B%0A      launch(args);%0A  %7D%0A %0A  @Override%0A  public void start(Stage primaryStage) %7B%0A      primaryStage.setTitle(%22File Chooser%22);%0A     %0A      final Label labelFile = new Label();%0A     %0A      Button btn = new Button();%0A      btn.setText(%22Open FileChooser'%22);%0A      btn.setOnAction(new EventHandler%3CActionEvent%3E() %7B%0A %0A          @Override%0A          public void handle(ActionEvent event) %7B%0A              FileChooser fileChooser = new FileChooser();%0A %0A              //Set extension filter%0A              FileChooser.ExtensionFilter extFilter = new FileChooser.ExtensionFilter(%22XML files (*.xml)%22, %22*.xml%22);%0A              fileChooser.getExtensionFilters().add(extFilter);%0A             %0A              //Show open file dialog%0A              file = fileChooser.showOpenDialog(null);%0A             %0A              labelFile.setText(file.getPath());%0A          %7D%0A      %7D);%0A     %0A      VBox vBox = new VBox();%0A      vBox.getChildren().addAll(labelFile, btn);%0A     %0A      StackPane root = new StackPane();%0A      root.getChildren().add(vBox);%0A      primaryStage.setScene(new Scene(root, 300, 250));%0A      primaryStage.show();%0A  %7D%0A%7D%0A

Implement FilePicker