package edu.govschool.govchat.gui;

// We need to import our socket package
import edu.govschool.govchat.socket.*;
// JavaFX imports
import javafx.application.*;
import javafx.geometry.*;
import javafx.scene.*;
import javafx.scene.control.*;
import javafx.scene.layout.*;
import javafx.stage.*;

/**
 * GUI for the GovChat client.
 * Most of the actual work is handled with <code>GCClientSocket</code>, this
 * provides us with a GUI to work with this socket and the entire client in
 * general.
 * @author Mr. Davis
 */
public class GCClient extends Application
{
    public static void main(String[] args)
    {
        launch(args);
    }
    
    @Override
    public void start(Stage primaryStage)
    {
        
    }
    
    private void sendBtn_click()
    {
        
    }
    
    private void connectBtn_click()
    {
    
    }
    
    private class ClientSocketListener implements GCSocketListener
    {
        @Override
        public void onMessage(final String line)
        {
            
        }
        
        @Override
        public void onCloseUpdate(final Boolean isClosed)
        {
            
        }
    }
}
    
@@ -558,16 +558,707 @@
 ation%0A%7B%0A
+    // Our GUI initially is very spartan, consisting of a large text area to%0A    // display messages sent and received, a entry field to enter messages, a%0A    // connect button and a send button. At first, we just connect using the%0A    // default host and port, localhost and 2000, so we don't need any elements%0A    // to input a custom host and port yet.%0A    private TextArea msgArea;%0A    private TextField entryField;%0A    private Button sendBtn;%0A    private Button connectBtn;%0A    %0A    // We need a client socket, since this is a client GUI%0A    private GCClientSocket clientSocket;%0A    %0A    // This flag will tell us if we're connected or not%0A    private boolean socketClosed = true;%0A    %0A
     publ

Add properties to GCClient