I need to fit the image on jlabel, my images are stored in MySql table and I getting those using following code -
byte[] imagedata=rs.getBytes(6); // rs is ResultSet of table
format=new ImageIcon(imagedata);
jLabel15.setIcon(format);
How can I resize the "format" which I want to display on jLabel15.
Edited: Image column in table is bigblob data type