How do i change the color of Image on my JComponent.I placing an Image on JComponent through setIcon() method and passing ImageICon object.How can i change the color of the image which i passed to this Image Object.Or please sussest me any better way of doiing it. I will be knowing the colors only at runTime. here is my code which will explain easy to understand... Say ... JLabel label=new JLabel("My text"); ImageIcon icon=new IMageIcon("myImage.gif"); label.setIcon(icon); now how can i change the color of this image in runtime.
Howdy hiThere for u r answers, Welcome to JavaRanch! We ain't got many rules 'round these parts, but we do got one. Please change your display name to comply with The JavaRanch Naming Policy. Note that you don't have to use your true name, just one that follows the naming policy. Thanks Pardner! Hope to see you 'round the Ranch!