mirror of
https://github.com/dmolony/DiskBrowser.git
synced 2025-08-09 01:25:03 +00:00
tidying
This commit is contained in:
@@ -53,7 +53,7 @@ public class DiskBrowser extends JFrame implements DiskSelectionListener, QuitLi
|
||||
addPanel (dataPanel, "Output", BorderLayout.CENTER);
|
||||
|
||||
// create and add the right-hand disk layout panel
|
||||
DiskLayoutPanel diskLayoutPanel = new DiskLayoutPanel (menuHandler, prefs);
|
||||
DiskLayoutPanel diskLayoutPanel = new DiskLayoutPanel ();
|
||||
JPanel layoutBorderPanel =
|
||||
addPanel (diskLayoutPanel, "Disk layout", BorderLayout.EAST);
|
||||
|
||||
|
@@ -12,7 +12,6 @@ import java.awt.event.ActionEvent;
|
||||
import java.awt.event.ActionListener;
|
||||
import java.awt.event.MouseAdapter;
|
||||
import java.awt.event.MouseEvent;
|
||||
import java.util.prefs.Preferences;
|
||||
|
||||
import javax.swing.JComponent;
|
||||
import javax.swing.JPanel;
|
||||
@@ -37,7 +36,7 @@ class DiskLayoutPanel extends JPanel
|
||||
private final JScrollPane sp;
|
||||
private LayoutDetails layout;
|
||||
|
||||
public DiskLayoutPanel (MenuHandler mh, Preferences prefs)
|
||||
public DiskLayoutPanel ()
|
||||
{
|
||||
super (new BorderLayout ());
|
||||
|
||||
|
Reference in New Issue
Block a user