Adjust image locations

git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@950977 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Pinaki Poddar 2010-06-03 12:31:46 +00:00
parent 05b75b3f68
commit a89c57d229
1 changed files with 1 additions and 1 deletions

View File

@ -58,7 +58,7 @@ public class Images {
if (icon == null) {
return null;
}
icon = new ImageIcon(((ImageIcon)icon).getImage().getScaledInstance(32, -1, Image.SCALE_SMOOTH));
icon = new ImageIcon(((ImageIcon)icon).getImage().getScaledInstance(width, height, Image.SCALE_SMOOTH));
return icon;
}