All pastes #462141 Raw Edit

Anonymous

public text v1 · immutable
#462141 ·published 2007-04-28 02:21 UTC
rendered paste body
import java.awt.FlowLayout;
import javax.swing.*;
import java.net.*;

class ChatFrame extends JFrame {
	public ChatFrame() {
		try {
			Socket myClient = new Socket("irc.freenode.net",6667);
		} catch (Exception e) {
			System.out.println("Fatal Connection Error!! Exception caught: " + e);
		}
		setTitle("DrIRC");
		setLayout(new FlowLayout());
		setDefaultCloseOperation(EXIT_ON_CLOSE);
		setSize(550,400);
		setVisible(true);
	}
}