diff options
author | Lyubomir Marinov <lyubomir.marinov@jitsi.org> | 2008-12-20 00:08:53 +0000 |
---|---|---|
committer | Lyubomir Marinov <lyubomir.marinov@jitsi.org> | 2008-12-20 00:08:53 +0000 |
commit | 2e83c45aa27145fe587fceae1dfa3f1ac2f77046 (patch) | |
tree | 4becc08475cce8174f76f87e6d9c73f474fe98a9 /src/net/java/sip/communicator/plugin/contactinfo/ContactInfoDetailsPanel.java | |
parent | 3c911f558fd4f557323cbd9fdb2f10fb3d037a5c (diff) | |
download | jitsi-2e83c45aa27145fe587fceae1dfa3f1ac2f77046.zip jitsi-2e83c45aa27145fe587fceae1dfa3f1ac2f77046.tar.gz jitsi-2e83c45aa27145fe587fceae1dfa3f1ac2f77046.tar.bz2 |
- Delays the creation of the Options dialog and the loading of the ConfigurationForm implementations (which get listed in the Options dialog).
- Spares a couple of ImageIcon allocations.
- Removes unused fields and fixes raw-type warnings in the files touched by the other changes.
Diffstat (limited to 'src/net/java/sip/communicator/plugin/contactinfo/ContactInfoDetailsPanel.java')
-rw-r--r-- | src/net/java/sip/communicator/plugin/contactinfo/ContactInfoDetailsPanel.java | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/net/java/sip/communicator/plugin/contactinfo/ContactInfoDetailsPanel.java b/src/net/java/sip/communicator/plugin/contactinfo/ContactInfoDetailsPanel.java index 02f3dcf..ad71846 100644 --- a/src/net/java/sip/communicator/plugin/contactinfo/ContactInfoDetailsPanel.java +++ b/src/net/java/sip/communicator/plugin/contactinfo/ContactInfoDetailsPanel.java @@ -191,11 +191,10 @@ public class ContactInfoDetailsPanel );
}
else
- scaledImage = ImageUtils.getScaledRoundedImage(
- Resources.getImage("service.gui.DEFAULT_USER_PHOTO"),
- AVATAR_AREA_WIDTH,
- AVATAR_AREA_HEIGHT
- );
+ scaledImage =
+ ImageUtils.getScaledRoundedIcon(Resources
+ .getImage("service.gui.DEFAULT_USER_PHOTO"),
+ AVATAR_AREA_WIDTH, AVATAR_AREA_HEIGHT);
JLabel label = new JLabel(scaledImage);
label.setVerticalAlignment(JLabel.CENTER);
|