import javafx.application.Application; import javafx.scene.Scene; import javafx.stage.Stage; /** * @author Alexander Gulko */ public class TreeApp extends Application { @Override public void start(final Stage stage) throws Exception { stage.setResizable(true); stage.setTitle("File system"); Scene scene = new Scene(new FileTreeView(), 800, 600); stage.setScene(scene); stage.setVisible(true); } public static void main(final String[] args) { try { Application.launch(TreeApp.class, args); } catch (Exception e) { e.printStackTrace(); } } }