protected void layoutLabel ( ) { Graphics2D gfx = _mgr . createGraphics ( ) ; if ( gfx == null ) { return ; } try { gfx . setRenderingHint ( RenderingHints . KEY_ANTIALIASING , ( _antiAliased ) ? RenderingHints . VALUE_ANTIALIAS_ON : RenderingHints . VALUE_ANTIALIAS_OFF ) ; _label . layout ( gfx ) ; } finally { gfx . dispose ( ) ; } }
Lays out our underlying label which must be done if the text is changed .