( (ChannelPanel) aComponent).updateUserArea(oldNickname, "remove"); ( (ChannelPanel) aComponent).updateUserArea(newNickname, "add");   ( (ChannelPanel) aComponent).updateTextArea(oldNickname + " changes nickname to " +
( (ChannelPanel) aComponent).renameUser(oldNickname,
    public void changeNickname(String oldNickname, String newNickname) {        int totalTabs = tabbedPane.getTabCount();        for (int i = 0; i < totalTabs; i++) {            Component aComponent = tabbedPane.getComponentAt(i);            if (aComponent instanceof ChannelPanel) {                // Do channel processing                // At first remove the old nickname from the userNameBox                ( (ChannelPanel) aComponent).updateUserArea(oldNickname,                    "remove");                ( (ChannelPanel) aComponent).updateUserArea(newNickname, "add");                // Now let's post a sensible comment on the channel Panel                ( (ChannelPanel) aComponent).updateTextArea(oldNickname +                    " changes nickname to " +                    newNickname);            }            else if (aComponent instanceof UserPanel) {                ;                // Do UserPanel processing                // Actually this process was done in the NICK handling part....            }        }    }