|
@@ -9,6 +9,7 @@ import java.awt.image.*;
|
|
|
import javax.imageio.ImageIO;
|
|
|
import java.io.File;
|
|
|
import java.io.*;
|
|
|
+import javax.swing.BorderFactory;
|
|
|
|
|
|
public class Gallery extends JPanel implements Observer, Serializable
|
|
|
{
|
|
@@ -318,6 +319,7 @@ class Item extends JPanel implements Serializable
|
|
|
this.setLayout(new BoxLayout(this, BoxLayout.Y_AXIS));
|
|
|
this.setPreferredSize(new Dimension(200, 282));
|
|
|
this.setMaximumSize(new Dimension(200, 282));
|
|
|
+ //this.setBorder(BorderFactory.createLineBorder(Color.gray));
|
|
|
this.picture = new ImageIcon(data.getPic());
|
|
|
this.pic = new JLabel(picture, JLabel.CENTER);
|
|
|
this.pic.addMouseListener(clicklistener);
|