mirror of
https://github.com/apache/openjpa.git
synced 2025-02-08 02:59:42 +00:00
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:
parent
05b75b3f68
commit
a89c57d229
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user