This commit is contained in:
Denis Molony 2019-10-12 17:30:08 +10:00
parent 9be53fe921
commit 6da1441041
3 changed files with 3 additions and 4 deletions

View File

@ -25,6 +25,7 @@
* Install the **latest** version of the [Java Runtime Environment](http://www.oracle.com/technetwork/java/javase/downloads/index.html) (JRE or JDK).
* Download DiskBrowser.jar from the [releases](https://github.com/dmolony/diskbrowser/releases) page.
* Double-click the jar file, or enter 'java -jar DiskBrowser.jar' in the terminal.
* Set your root folder (where you keep your disk images).
### Example Screens
#### Disk listing

View File

@ -29,10 +29,7 @@ public class DiskBrowser extends JFrame implements DiskSelectionListener, QuitLi
super (windowTitle);
if (args.length > 0 && "-reset".equals (args[0]))
{
WindowState windowState = new WindowState (prefs);
windowState.clear ();
}
new WindowState (prefs).clear ();
JToolBar toolBar = new JToolBar ("Toolbar", JToolBar.HORIZONTAL);
MenuHandler menuHandler = new MenuHandler ();

View File

@ -24,6 +24,7 @@ class WindowState
try
{
preferences.clear ();
System.out.println ("Preferences cleared");
}
catch (BackingStoreException e)
{