mirror of
https://github.com/dmolony/DiskBrowser.git
synced 2024-11-29 11:49:29 +00:00
tidying
This commit is contained in:
parent
a707fb8648
commit
f520126aeb
@ -110,10 +110,9 @@ class DiskLayoutPanel extends JPanel
|
||||
public void actionPerformed (ActionEvent e)
|
||||
{
|
||||
LayoutDetails layout = new LayoutDetails (disk);
|
||||
image.setDisk (disk, layout);
|
||||
|
||||
legendPanel.layoutDetails = layout;
|
||||
legendPanel.repaint ();
|
||||
image.setDisk (disk, layout);
|
||||
legendPanel.setDisk (disk, layout);
|
||||
|
||||
verticalRuler.setLayout (layout);
|
||||
horizontalRuler.setLayout (layout);
|
||||
|
@ -16,17 +16,16 @@ import com.bytezone.diskbrowser.gui.DiskLayoutPanel.LayoutDetails;
|
||||
|
||||
class DiskLegendPanel extends JPanel
|
||||
{
|
||||
static final int LEFT = 10;
|
||||
static final int TOP = 10;
|
||||
private static final int LEFT = 10;
|
||||
private static final int TOP = 10;
|
||||
|
||||
FormattedDisk disk;
|
||||
LayoutDetails layoutDetails;
|
||||
Font font;
|
||||
private FormattedDisk disk;
|
||||
private LayoutDetails layoutDetails;
|
||||
private final Font font;
|
||||
private boolean retina;
|
||||
|
||||
public DiskLegendPanel ()
|
||||
{
|
||||
// font = new Font ("SansSerif", Font.PLAIN, 12);
|
||||
font = Platform.getFont (FontType.SANS_SERIF, FontSize.BASE);
|
||||
setBackground (Color.WHITE);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user