mirror of
https://github.com/dmolony/DiskBrowser.git
synced 2025-02-01 01:29:46 +00:00
tidying
This commit is contained in:
parent
9be53fe921
commit
6da1441041
@ -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).
|
* 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.
|
* 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.
|
* 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
|
### Example Screens
|
||||||
#### Disk listing
|
#### Disk listing
|
||||||
|
@ -29,10 +29,7 @@ public class DiskBrowser extends JFrame implements DiskSelectionListener, QuitLi
|
|||||||
super (windowTitle);
|
super (windowTitle);
|
||||||
|
|
||||||
if (args.length > 0 && "-reset".equals (args[0]))
|
if (args.length > 0 && "-reset".equals (args[0]))
|
||||||
{
|
new WindowState (prefs).clear ();
|
||||||
WindowState windowState = new WindowState (prefs);
|
|
||||||
windowState.clear ();
|
|
||||||
}
|
|
||||||
|
|
||||||
JToolBar toolBar = new JToolBar ("Toolbar", JToolBar.HORIZONTAL);
|
JToolBar toolBar = new JToolBar ("Toolbar", JToolBar.HORIZONTAL);
|
||||||
MenuHandler menuHandler = new MenuHandler ();
|
MenuHandler menuHandler = new MenuHandler ();
|
||||||
|
@ -24,6 +24,7 @@ class WindowState
|
|||||||
try
|
try
|
||||||
{
|
{
|
||||||
preferences.clear ();
|
preferences.clear ();
|
||||||
|
System.out.println ("Preferences cleared");
|
||||||
}
|
}
|
||||||
catch (BackingStoreException e)
|
catch (BackingStoreException e)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user