Is there a library for Java that allows a program to use the Telnet protocol?
There is a website that I would like to connect to using the Telnet protocol and I would like to display the output that I get from that website in a scrolling text field, as well as allow the user to send text to the server. Are there any easy ways to accomplish this using a Swing GUI?
Note: there already is a question with a title quite similar to this one (Java Telnet Library) — however, this question and that question are asking two entirely different things.
EDIT: I am trying to connect to a server, not a website – specifically, telehack.com.
Try starting here: http://javatelnet.org/space/start.
As for the Swing GUI, you should be able to easily pipe text into it from the Telnet server (though you really should use SSH for security purposes).