Logo Search packages:      
Sourcecode: libjgoodies-animation-java version File versions  Download package

void com::jgoodies::animation::components::AnimatedLabel::initComponents ( int  fontExtraSize  )  [inline, private]

Creates and configures the UI components. The label's size is specified using an fontExtraSize that is a delta in pixel to the dialog font size.

Parameters:
fontExtraSize the pixel size delta for the label sizes

Definition at line 330 of file AnimatedLabel.java.

References createBoldLabel(), and getTranslucentColor().

Referenced by AnimatedLabel().

                                                   {
        labels = new JLabel[2];
        labels[foreground] =
            createBoldLabel(fontExtraSize, getTranslucentColor(255));
        labels[background] =
            createBoldLabel(fontExtraSize, getTranslucentColor(255));
    }


Generated by  Doxygen 1.6.0   Back to index