public synchronized void setText ( String text ) { setLines ( splitIntoMultipleLines ( text ) ) ; this . labelSize = getBounds ( lines , labelSize ) ; invalidate ( ) ; }
Updates the text this label is displaying