@ Override protected void preparePaintComponent ( final Request request ) { StringBuffer text = new StringBuffer ( "Options: " ) ; for ( Object option : shuffler . getOptions ( ) ) { text . append ( option ) . append ( ", " ) ; } order . setText ( text . toString ( ) ) ; }
Concatenate the options to display in the text field .