// 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.Canvas;
import java.awt.Color;
import java.awt.Container;
import java.awt.Graphics;
import java.awt.Image;
import java.awt.MediaTracker;
import java.awt.Toolkit;
import java.awt.event.AdjustmentEvent;
import java.awt.event.AdjustmentListener;
import java.awt.event.MouseAdapter;
import java.awt.event.MouseEvent;
import java.awt.event.WindowAdapter;
import java.awt.event.WindowEvent;
import java.awt.image.BufferedImage;
import java.util.ArrayList;
import java.util.StringTokenizer;
import java.util.Vector;
import javax.swing.ImageIcon;
import javax.swing.JFrame;
import javax.swing.JLabel;
import javax.swing.JList;
import javax.swing.JPanel;
import javax.swing.JScrollBar;
import javax.swing.JScrollPane;
import javax.swing.JTextArea;
import javax.swing.JTextField;
package gui;




@SuppressWarnings("serial")
public class GameRoomGui extends JPanel implements RoomGuiInter {

	private UserListFrame userListFrame;
	
	/*
	 *  Left Panel
	 */
	private JLabel m_titleLabel;
	private GameBoardCanvas m_board = new GameBoardCanvas();
	private JTextField m_input;
	private JPanel m_canvasPanel;

	/*
	 * Right Panel 
	 */
	private JPanel m_rightPanel;
	private JTextArea m_log;
	private JList m_userList;
	private JLabel m_gamer1,m_gamer2;
	private ImageButton m_gamerCaptin, m_gamerCrhallenger;
	private ImageButton m_exitButton, m_totalUserButton;
	private ImageButton m_backButton;
	private JScrollPane m_logScrollPan;
	private JScrollBar m_vScroll;
	
// 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/GameRoomGui.java
import gameClient.ClientInterface;
import java.awt.Canvas;
import java.awt.Color;
import java.awt.Container;
import java.awt.Graphics;
import java.awt.Image;
import java.awt.MediaTracker;
import java.awt.Toolkit;
import java.awt.event.AdjustmentEvent;
import java.awt.event.AdjustmentListener;
import java.awt.event.MouseAdapter;
import java.awt.event.MouseEvent;
import java.awt.event.WindowAdapter;
import java.awt.event.WindowEvent;
import java.awt.image.BufferedImage;
import java.util.ArrayList;
import java.util.StringTokenizer;
import java.util.Vector;
import javax.swing.ImageIcon;
import javax.swing.JFrame;
import javax.swing.JLabel;
import javax.swing.JList;
import javax.swing.JPanel;
import javax.swing.JScrollBar;
import javax.swing.JScrollPane;
import javax.swing.JTextArea;
import javax.swing.JTextField;

package gui;




@SuppressWarnings("serial")
public class GameRoomGui extends JPanel implements RoomGuiInter {

	private UserListFrame userListFrame;
	
	/*
	 *  Left Panel
	 */
	private JLabel m_titleLabel;
	private GameBoardCanvas m_board = new GameBoardCanvas();
	private JTextField m_input;
	private JPanel m_canvasPanel;

	/*
	 * Right Panel 
	 */
	private JPanel m_rightPanel;
	private JTextArea m_log;
	private JList m_userList;
	private JLabel m_gamer1,m_gamer2;
	private ImageButton m_gamerCaptin, m_gamerCrhallenger;
	private ImageButton m_exitButton, m_totalUserButton;
	private ImageButton m_backButton;
	private JScrollPane m_logScrollPan;
	private JScrollBar m_vScroll;
	
	private ClientInterface client;