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

JLabel com::jgoodies::animation::components::AnimatedLabel::createBoldLabel ( int  sizeIncrement,
Color  aForeground 
) [inline, private]

Creates and returns an anti-aliased label with a bold font for the specified size increment and foreground color.

Parameters:
sizeIncrement a size delta in pixels relative to the dialog font size
aForeground the label's foreground base color
Returns:
a bold anti aliased label

Definition at line 368 of file AnimatedLabel.java.

Referenced by initComponents().

                                                                         {
        JLabel label = new AntiAliasedLabel("", Font.BOLD, sizeIncrement);
        label.setForeground(aForeground);
        return label;
    }


Generated by  Doxygen 1.6.0   Back to index