Normand Briere
2019-06-11 5e6a6f3319f0c4c687fe71952ac9ecc17792b83a
cFileSystemPane.java
....@@ -62,10 +62,10 @@
6262
6363 cGridBag fileCommsnds = new cGridBag();
6464
65
- fileCommsnds.add(refreshButton = new JButton("Refresh")); //, aConstraints);
66
- refreshButton.setToolTipText("Refresh entire tree");
6765 fileCommsnds.add(loadButton = new JButton("Load")); //, aConstraints);
6866 loadButton.setToolTipText("Load selected file(s)");
67
+ fileCommsnds.add(refreshButton = new JButton("Refresh")); //, aConstraints);
68
+ refreshButton.setToolTipText("Refresh entire tree");
6969
7070 refreshButton.addActionListener(this);
7171 loadButton.addActionListener(this);
....@@ -136,7 +136,7 @@
136136
137137 jTree.setModel(new cFileSystemModel(
138138 //java.io.File.listRoots()[1])
139
- javax.swing.filechooser.FileSystemView.getFileSystemView().getHomeDirectory(),
139
+ javax.swing.filechooser.FileSystemView.getFileSystemView().getDefaultDirectory(),
140140 filter
141141 ));
142142 }