private String formatMessage ( final String message ) { String result ; if ( message != null ) { result = wrapMessage ( message ) ; int longestLine = getLongestLineLen ( result ) ; if ( ! isThought ) { result = Bubble . formatSpeech ( result , longestLine ) ; } else { result = Bubble . formatThought ( result , longestLine ) ; } return result ; } return "" ; }
Builds the bubble around the message .