BufferedImage img = null;
ImageIcon icon = null;
try {
img = ImageIO.read(new File("resources/" + imageString));
} catch (IOException e) {
e.printStackTrace();
}
img = ImageScaler.getScaledImage(img, 35, 35);
icon = new ImageIcon(img);
table.setValueAt(icon, 1, 0);
this is my code. But image is not displayed. I need some help to find out where i went wrong.
- [Add iamges to JTable](http://www.coderanch.com/t/340043/GUI/java/Adding-images-JTable) – Sachin Mhetre Apr 27 '12 at 07:11