public class PrettyTelnet extends Telnet

set up your dialog to drop user input on the outgoing stream to the server and the user's display to show what the server sends back.