All pastes #462155 Raw Edit

Mine

public java v1 · immutable
#462155 ·published 2007-04-28 02:43 UTC
rendered paste body
import java.awt.FlowLayout;import javax.swing.*;import java.net.*;import java.io.*;class ChatFrame extends JFrame {	/*	public void asdf() {			}	*/	public ChatFrame() {		try {			Socket myClient = new Socket("irc.freenode.net",6667);		} catch (Exception e) {			System.out.println("Fatal Connection Error!! Exception caught: " + e);		}		DataInputStream is = new DataInputStream(myClient.getInputStream());		PrintStream os = new PrintStream(myClient.getOutputStream());		is.print("USER  DrIRC 8 *  : DrIRC v0.1 Alpha");		is.print("NICK DrIRC"); 		setTitle("DrIRC");		setLayout(new FlowLayout());		setDefaultCloseOperation(EXIT_ON_CLOSE);				setSize(550,400);		setVisible(true);	}}