|
@@ -22,16 +22,16 @@ public class Controls extends JPanel implements Observer, Serializable
|
|
|
if (e.getSource() == grid)
|
|
|
{
|
|
|
grid.setSelected(true);
|
|
|
- grid.setIcon(lightGridIcon);
|
|
|
list.setSelected(false);
|
|
|
model.switchLayout(true);
|
|
|
+ grid.setIcon(lightGridIcon);
|
|
|
}
|
|
|
else
|
|
|
{
|
|
|
list.setSelected(true);
|
|
|
- list.setIcon(lightListIcon);
|
|
|
grid.setSelected(false);
|
|
|
model.switchLayout(false);
|
|
|
+ list.setIcon(lightListIcon);
|
|
|
}
|
|
|
}
|
|
|
}
|
|
@@ -210,9 +210,9 @@ public class Controls extends JPanel implements Observer, Serializable
|
|
|
private ImageIcon emptyStarIcon;
|
|
|
private ImageIcon fullStarIcon;
|
|
|
private ImageIcon gridIcon;
|
|
|
- private ImageIcon listIcon;.
|
|
|
- private ImageIcon lightGridIcon;.
|
|
|
- private ImageIcon lightListIcon;.
|
|
|
+ private ImageIcon listIcon;
|
|
|
+ private ImageIcon lightGridIcon;
|
|
|
+ private ImageIcon lightListIcon;
|
|
|
private ImageIcon folderIcon;
|
|
|
private JButton fileButton;
|
|
|
private JRadioButton star1;
|