// Path: omok/gameClient/ClientInterface.java
// public interface ClientInterface {
// 	void sendMessage(String message, short state);
// 	void sendSlip(String to, String text, short message_slip);
// 	GuiInterface getGui();
// 	void changeGui(GuiInterface gui);
// 	void sendMessage(int[] is);
// 	void setSlipTo(String slipTo);
// 	boolean isRoomKing();
// }


import gameClient.ClientInterface;
import java.awt.Container;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.awt.event.WindowAdapter;
import java.awt.event.WindowEvent;
import java.util.Vector;
import javax.swing.JButton;
import javax.swing.JFrame;
import javax.swing.JList;
import javax.swing.JOptionPane;
import javax.swing.JScrollPane;
package gui;




public class UserListFrame extends JFrame {

	private static final long serialVersionUID = 1L;
	
	private Container cp;
	private JList m_userList;
	private JScrollPane m_scList;
	private JButton m_sendButton, m_closeButton;
	
	protected ClientInterface client;
	
	public UserListFrame(int x, int y, final ClientInterface client) {
		super("전체 접속자 목록");
		
		this.client = client;
		
		cp = this.getContentPane();
		
		m_userList = new JList();
		m_scList = new JScrollPane(m_userList,
				JScrollPane.VERTICAL_SCROLLBAR_AS_NEEDED,
				JScrollPane.HORIZONTAL_SCROLLBAR_NEVER);
// Path: omok/gameClient/ClientInterface.java
// public interface ClientInterface {
// 	void sendMessage(String message, short state);
// 	void sendSlip(String to, String text, short message_slip);
// 	GuiInterface getGui();
// 	void changeGui(GuiInterface gui);
// 	void sendMessage(int[] is);
// 	void setSlipTo(String slipTo);
// 	boolean isRoomKing();
// }


// Path: omok/gui/UserListFrame.java
import gameClient.ClientInterface;
import java.awt.Container;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.awt.event.WindowAdapter;
import java.awt.event.WindowEvent;
import java.util.Vector;
import javax.swing.JButton;
import javax.swing.JFrame;
import javax.swing.JList;
import javax.swing.JOptionPane;
import javax.swing.JScrollPane;

package gui;




public class UserListFrame extends JFrame {

	private static final long serialVersionUID = 1L;
	
	private Container cp;
	private JList m_userList;
	private JScrollPane m_scList;
	private JButton m_sendButton, m_closeButton;
	
	protected ClientInterface client;
	
	public UserListFrame(int x, int y, final ClientInterface client) {
		super("전체 접속자 목록");
		
		this.client = client;
		
		cp = this.getContentPane();
		
		m_userList = new JList();
		m_scList = new JScrollPane(m_userList,
				JScrollPane.VERTICAL_SCROLLBAR_AS_NEEDED,
				JScrollPane.HORIZONTAL_SCROLLBAR_NEVER);
		m_scList.setBounds(5,5,185,330);