JLabel myImageLabel = JLabel(new ImageIcon("Image Path"))
{
@Override
public void paintComponent(Graphics g) {
super.paintComponent(g);
g.drawImage(((ImageIcon)getIcon()).getImage(), 0, 0, getWidth(), getHeight(), null);
}
};
YOU are my savior!
ReplyDeleteGreets from Poland ;)
You saved me too ^^ Really thank you
ReplyDeleteGreets from Spain :)
Man, you are the best!
ReplyDeleteDamm!! Its good..
ReplyDeleteVery nice . Thanks from me...
ReplyDelete