private void printDetails ( ) { StringBuilder builder = new StringBuilder ( "\"Name\",\"Phone\",\"Roles\",\"Identifier\"\n" ) ; for ( Object contact : repeater . getBeanList ( ) ) { builder . append ( contact ) . append ( ' ' ) ; } printOutput . setText ( builder . toString ( ) ) ; }
Write the list of contacts into the WTextArea printOutput .