From d0dc7ff35d71919d503ae35592478b173cf3cfd3 Mon Sep 17 00:00:00 2001 From: Normand Briere <nbriere@noware.ca> Date: Mon, 10 Jun 2019 23:45:04 -0400 Subject: [PATCH] Extract big data. --- cFileSystemPane.java | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/cFileSystemPane.java b/cFileSystemPane.java index 9b42459..da2f91f 100644 --- a/cFileSystemPane.java +++ b/cFileSystemPane.java @@ -62,10 +62,10 @@ cGridBag fileCommsnds = new cGridBag(); - fileCommsnds.add(refreshButton = new JButton("Refresh")); //, aConstraints); - refreshButton.setToolTipText("Refresh entire tree"); fileCommsnds.add(loadButton = new JButton("Load")); //, aConstraints); loadButton.setToolTipText("Load selected file(s)"); + fileCommsnds.add(refreshButton = new JButton("Refresh")); //, aConstraints); + refreshButton.setToolTipText("Refresh entire tree"); refreshButton.addActionListener(this); loadButton.addActionListener(this); @@ -136,7 +136,7 @@ jTree.setModel(new cFileSystemModel( //java.io.File.listRoots()[1]) - javax.swing.filechooser.FileSystemView.getFileSystemView().getHomeDirectory(), + javax.swing.filechooser.FileSystemView.getFileSystemView().getDefaultDirectory(), filter )); } -- Gitblit v1.6.2