I have to show an image in reduced size in the toolbar of a Java
application.
The problem is that the scalation method makes the resolution in the
image very poor. I've tried to use all the scalations methods existing
in the Image class, but they all produce similar results.
Here is an example about what I want to do:
JToggleButton buttonWithReducedImage =
new JToggleButton(new ImageIcon(
largeImage.getScaledInstance(
WIDTH, HEIGHT, Image.SCALE_SMOOTH)));
Please, if you have some idea about how to solve this problem, tell me.
Thanks a lot.
_______________________________________________
Advanced-swing mailing list
[EMAIL PROTECTED]
http://eos.dk/mailman/listinfo/advanced-swing