src/net/java/sip/communicator/impl/gui/main/chat/ChatContactRightButtonMenu.java
/**
     * Reloads icons for all menu items.
     */
Reloads icons for all menu items.
Reloads icons for all menu items .
public void loadSkin()
    {
        this.grantOwnershipItem.setIcon(ImageUtils.getScaledRoundedIcon(
            ImageLoader.getImage(ImageLoader.CHATROOM_MEMBER_OWNER), 16, 16));
        this.grantAdminItem.setIcon(ImageUtils.getScaledRoundedIcon(
            ImageLoader.getImage(ImageLoader.CHATROOM_MEMBER_ADMIN), 16, 16));
        this.grantMembershipItem.setIcon(ImageUtils.getScaledRoundedIcon(
            ImageLoader.getImage(ImageLoader.CHATROOM_MEMBER_STANDARD), 16, 16));
        this.grantModeratorItem.setIcon(ImageUtils.getScaledRoundedIcon(
            ImageLoader.getImage(
                ImageLoader.CHATROOM_MEMBER_MODERATOR), 16, 16));
        this.grantVoiceItem.setIcon(ImageUtils.getScaledRoundedIcon(
            ImageLoader.getImage(ImageLoader.CHATROOM_MEMBER_STANDARD), 16, 16));
        this.revokeAdminItem.setIcon(ImageUtils.getScaledRoundedIcon(
            ImageLoader.getImage(ImageLoader.CHATROOM_MEMBER_STANDARD), 16, 16));
        this.revokeMembershipItem.setIcon(ImageUtils.getScaledRoundedIcon(
            ImageLoader.getImage(ImageLoader.CHATROOM_MEMBER_GUEST), 16, 16));
        this.revokeModeratorItem.setIcon(ImageUtils.getScaledRoundedIcon(
            ImageLoader.getImage(ImageLoader.CHATROOM_MEMBER_STANDARD), 16, 16));
        this.revokeOwnershipItem.setIcon(ImageUtils.getScaledRoundedIcon(
            ImageLoader.getImage(ImageLoader.CHATROOM_MEMBER_ADMIN), 16, 16));
        this.revokeVoiceItem.setIcon(ImageUtils.getScaledRoundedIcon(
            ImageLoader.getImage(ImageLoader.CHAT_ROOM_REVOKE_VOICE), 16, 16));
        this.kickItem.setIcon(new ImageIcon(ImageLoader.getImage(
            ImageLoader.KICK_ICON_16x16)));
        this.banItem.setIcon(new ImageIcon(ImageLoader.getImage(
            ImageLoader.BAN_ICON_16x16)));
        this.changeNicknameItem.setIcon(new ImageIcon(ImageLoader.getImage(
            ImageLoader.CHANGE_NICKNAME_ICON_16x16)));
        this.changeRoomSubjectItem.setIcon(new ImageIcon(ImageLoader.getImage(
            ImageLoader.CHANGE_ROOM_SUBJECT_ICON_16x16)));
    }
public void loadSkin ( ) { this . grantOwnershipItem . setIcon ( ImageUtils . getScaledRoundedIcon ( ImageLoader . getImage ( ImageLoader . CHATROOM_MEMBER_OWNER ) , 16 , 16 ) ) ; this . grantAdminItem . setIcon ( ImageUtils . getScaledRoundedIcon ( ImageLoader . getImage ( ImageLoader . CHATROOM_MEMBER_ADMIN ) , 16 , 16 ) ) ; this . grantMembershipItem . setIcon ( ImageUtils . getScaledRoundedIcon ( ImageLoader . getImage ( ImageLoader . CHATROOM_MEMBER_STANDARD ) , 16 , 16 ) ) ; this . grantModeratorItem . setIcon ( ImageUtils . getScaledRoundedIcon ( ImageLoader . getImage ( ImageLoader . CHATROOM_MEMBER_MODERATOR ) , 16 , 16 ) ) ; this . grantVoiceItem . setIcon ( ImageUtils . getScaledRoundedIcon ( ImageLoader . getImage ( ImageLoader . CHATROOM_MEMBER_STANDARD ) , 16 , 16 ) ) ; this . revokeAdminItem . setIcon ( ImageUtils . getScaledRoundedIcon ( ImageLoader . getImage ( ImageLoader . CHATROOM_MEMBER_STANDARD ) , 16 , 16 ) ) ; this . revokeMembershipItem . setIcon ( ImageUtils . getScaledRoundedIcon ( ImageLoader . getImage ( ImageLoader . CHATROOM_MEMBER_GUEST ) , 16 , 16 ) ) ; this . revokeModeratorItem . setIcon ( ImageUtils . getScaledRoundedIcon ( ImageLoader . getImage ( ImageLoader . CHATROOM_MEMBER_STANDARD ) , 16 , 16 ) ) ; this . revokeOwnershipItem . setIcon ( ImageUtils . getScaledRoundedIcon ( ImageLoader . getImage ( ImageLoader . CHATROOM_MEMBER_ADMIN ) , 16 , 16 ) ) ; this . revokeVoiceItem . setIcon ( ImageUtils . getScaledRoundedIcon ( ImageLoader . getImage ( ImageLoader . CHAT_ROOM_REVOKE_VOICE ) , 16 , 16 ) ) ; this . kickItem . setIcon ( new ImageIcon ( ImageLoader . getImage ( ImageLoader . KICK_ICON_16x16 ) ) ) ; this . banItem . setIcon ( new ImageIcon ( ImageLoader . getImage ( ImageLoader . BAN_ICON_16x16 ) ) ) ; this . changeNicknameItem . setIcon ( new ImageIcon ( ImageLoader . getImage ( ImageLoader . CHANGE_NICKNAME_ICON_16x16 ) ) ) ; this . changeRoomSubjectItem . setIcon ( new ImageIcon ( ImageLoader . getImage ( ImageLoader . CHANGE_ROOM_SUBJECT_ICON_16x16 ) ) ) ; }
Reloads icons for all menu items.
Reloads icons for all menu items .