V
VJ
Hi Folks,
I am loading a gif image file in JPanel using JLabel()
Something like this,
....
JLabel image = new JLabel(new ImageIcon("myimage.gif"));
....
Now, I want to add some text on top of this image(without explicitly
modifying the image)
Tried image.setText(), but I guess this isn't something that I want.
Any comment would be appreciated.
Thanks,
VK
I am loading a gif image file in JPanel using JLabel()
Something like this,
....
JLabel image = new JLabel(new ImageIcon("myimage.gif"));
....
Now, I want to add some text on top of this image(without explicitly
modifying the image)
Tried image.setText(), but I guess this isn't something that I want.
Any comment would be appreciated.
Thanks,
VK