|
@@ -98,7 +98,7 @@ class Item extends JPanel
|
|
|
this.picture = new ImageIcon(data.getPic());
|
|
|
this.pic = new JLabel(picture, JLabel.CENTER);
|
|
|
this.pic.addMouseListener(clicklistener);
|
|
|
- //this.pic.setPreferredSize(new Dimension(200, 200));
|
|
|
+ this.pic.setPreferredSize(new Dimension(200, 200));
|
|
|
this.name = new JLabel(data.getName(), JLabel.CENTER);
|
|
|
this.name.setPreferredSize(new Dimension(200, 40));
|
|
|
this.rating = new JLabel(Integer.toString(data.getRating()), JLabel.CENTER);
|