src/net/java/sip/communicator/impl/gui/main/chat/ChatPanel.java
/**
     * Initializes the typing notification label.
     * @param typingLabelParent the parent container
     *                          of typing notification label.
     */
Initializes the typing notification label.
@param typingLabelParent the parent container
of typing notification label.
Initializes the typing notification label . @param typingLabelParent the parent container of typing notification label .
private void initTypingNotificationLabel(JPanel typingLabelParent)
    {
        typingNotificationLabel
            = new JLabel(" ", SwingConstants.CENTER);
        typingNotificationLabel.setPreferredSize(new Dimension(500, 20));
        typingNotificationLabel.setForeground(Color.GRAY);
        typingNotificationLabel.setFont(
            typingNotificationLabel.getFont().deriveFont(11f));
        typingNotificationLabel.setVerticalTextPosition(JLabel.BOTTOM);
        typingNotificationLabel.setHorizontalTextPosition(JLabel.LEFT);
        typingNotificationLabel.setIconTextGap(0);
        typingLabelParent.add(typingNotificationLabel, BorderLayout.SOUTH);
    }
private void initTypingNotificationLabel ( JPanel typingLabelParent ) { typingNotificationLabel = new JLabel ( " " , SwingConstants . CENTER ) ; typingNotificationLabel . setPreferredSize ( new Dimension ( 500 , 20 ) ) ; typingNotificationLabel . setForeground ( Color . GRAY ) ; typingNotificationLabel . setFont ( typingNotificationLabel . getFont ( ) . deriveFont ( 11f ) ) ; typingNotificationLabel . setVerticalTextPosition ( JLabel . BOTTOM ) ; typingNotificationLabel . setHorizontalTextPosition ( JLabel . LEFT ) ; typingNotificationLabel . setIconTextGap ( 0 ) ; typingLabelParent . add ( typingNotificationLabel , BorderLayout . SOUTH ) ; }
Initializes the typing notification label.
Initializes the typing notification label .