import TBNG.tbngStandardStyleGUI; //The GUI container. The tbngStandardStyleGUI contains a default GUI that is suitable for this game //thus the GUI only needs to extend that, and pass the dimensions of the window, and the actual canvas //containing the game. Everything else is generic for all the tbng games. public class ncGUI extends tbngStandardStyleGUI { private final int WIDTH = 470, HEIGHT = 285, CHAT_ROWS = 9; public ncGUI () { gameCanvas = new ncGame(this); init(WIDTH, HEIGHT); panChatArea.setChatRows(CHAT_ROWS); //How tall the chat window is. This depends on the size of the game canvas } }