From 3ae9b1de47e51e7c150412f2bb14383cb6a5f8f8 Mon Sep 17 00:00:00 2001 From: Normand Briere <nbriere@noware.ca> Date: Sat, 08 Jun 2019 23:57:12 -0400 Subject: [PATCH] Fix "+" issue --- 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