public void statusMessage ( String text ) throws IOException { Map < String , Object > m = JSONProtocol . cmd ( "message" ) ; m . put ( "text" , text ) ; pipe . send ( m ) ; if ( ! JSONProtocol . check ( m , pipe . recv ( ) ) ) { throw new IOException ( "Could not display status" ) ; } }
Shows a message on the screen