Nota: Todos estos métodos deben comprobar que el cliente que usa el jugador es un ColoredSwingClient:
if ( aPlayer.getIO() instanceof ColoredSwingClient ) { usar los métodos; }
Cambiar los colores del prompt.
if ( aPlayer.getIO() instanceof ColoredSwingClient ) { aPlayer.getIO().setInputFieldForeground("FF0000"); aPlayer.getIO().setInputFieldBackground("00FF00"); aPlayer.getIO().setOutputFieldBackground("0000FF"); }
Cambiar el texto del prompt al clásico “>”.
aPlayer.getIO().setPrompts(">","");
Cambiar el texto del prompt: Si el jugador teclea “hola”, en el prompt aparecería “Tu texto aquí: (hola)”.
aPlayer.getIO().setPrompts("Tu texto aquí: (", ")");