output.setText(s); did do something, unfortunately it did the exact same as System.out.println(); I've included all the code this time in hopes that there's something that I'm not seeing correctly or I've implemented in such a small way that the compiler and/or program wouldn't notice it until the output to the screens are called in. Let me know what you think, in case anyone is confused as to what I'm trying to do, this code will create a Telnet to a server, of which I've blocked the name out, but I'm unable to put the information from the server into the JTextField, it only goes to the command prompt from which I've run the program. Any and all help is much appreciated.
Thanks in advance,
Andrew
import javax.swing.*;
import javax.swing.event.*;
import java.awt.event.*;
import java.awt.*;
import java.io.*;
import java.net.*;
import java.util.*;
public class TelnetApp extends JFrame implements ActionListener {
JTextArea output;
JScrollPane scrollPane;
JTextField input;
public TelnetApp() {
JMenuBar menuBar;
JMenu menu;
JMenuItem menuItem;
//construct the frame
JFrame frame = new JFrame("Telnet Application"

;
addWindowListener(new WindowAdapter() { public void windowClosing(WindowEvent e) {System.exit(0); }});
//Add regular components to the window, using the default BorderLayout.
Container contentPane = getContentPane();
output = new JTextArea(5, 30);
output.setEditable(false);
scrollPane = new JScrollPane(output);
contentPane.add(scrollPane, BorderLayout.CENTER);
input = new JTextField(200);
input.addActionListener(this);
input.setActionCommand("Text"

;
contentPane.add(input);
// Menu Bar setup
menuBar = new JMenuBar();
setJMenuBar(menuBar);
menu = new JMenu("File"

;
menu.setMnemonic(KeyEvent.VK_F);
menuBar.add(menu);
// Menu Items under "File"
menuItem = new JMenuItem("Connect"

;
menuItem.addActionListener(this);
menuItem.setActionCommand("Connect"

;
menu.add(menuItem);
menuItem = new JMenuItem("Disconnect"

;
menuItem.addActionListener(this);
menuItem.setActionCommand("Connect"

;
menu.add(menuItem);
menuItem = new JMenuItem("Exit"

;
menuItem.addActionListener(this);
menuItem.setActionCommand("Exit"

;
menu.add(menuItem);
// Menu Setup for "Edit"
menu = new JMenu("Edit"

;
menu.setMnemonic(KeyEvent.VK_E);
menuBar.add(menu);
menuItem = new JMenuItem("Copy"

;
menuItem.addActionListener(this);
menuItem.setActionCommand("Copy"

;
menu.add(menuItem);
menuItem = new JMenuItem("Cut"

;
menuItem.addActionListener(this);
menuItem.setActionCommand("Cut"

;
menu.add(menuItem);
menuItem = new JMenuItem("Paste"

;
menuItem.addActionListener(this);
menuItem.setActionCommand("Paste"

;
menu.add(menuItem);
//Menu Setup for "Help"
menu = new JMenu("Help"

;
menu.setMnemonic(KeyEvent.VK_H);
menuBar.add(menu);
menuItem = new JMenuItem("Help"

;
menuItem.addActionListener(this);
menuItem.setActionCommand("Help"

;
menu.add(menuItem);
menu.addSeparator();
menuItem = new JMenuItem("About"

;
menuItem.addActionListener(this);
menuItem.setActionCommand("About"

;
menu.add(menuItem);
} //End Telnet App
public void WriteToScreen(String s) {
output.write(s);
}
public void actionPerformed(ActionEvent e) {
String source = (String) (e.getActionCommand());
if (source == "Exit"

{
System.exit(0);}
else if (source == "Connect"

{}
else if (source == "Disconnect"

{}
else if (source == "Copy"

{}
else if (source == "Cut"

{}
else if (source == "Paste"

{}
else if (source == "Help"

{}
else if (source == "About"

{}
else if (source == "Text"

{
String text = input.getText();
/* out.println(text); */
}
}
public static void main (String[] args) {
TelnetApp window = new TelnetApp();
window.setTitle("Telnet Application"

;
window.setSize(450, 260);
window.setVisible(true);
int port = 8000;
String server = "<Server name>";
String fromServer = new String();
try {
Socket socket = new Socket(server, port);
BufferedReader in = new BufferedReader(new InputStreamReader(socket.getInputStream()));
PrintWriter out = new PrintWriter(new OutputStreamWriter(socket.getOutputStream()),true);
char[] buff = new char[81];
StringBuffer contents = new StringBuffer();
int len = 0;
while ((len = in.read(buff,0,80)) != -1) {
buff[len] = 10;
contents.append(buff,0,80);
System.out.println(contents);
}
window.WriteToScreen(contents.toString());
}
catch (UnknownHostException e) {
window.WriteToScreen("Must be connected to the Internet."

;
}
catch (IOException e) {
}
}
}