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 server.
 * Most of the actual work is handled with <code>GCServerSocket</code>, this
 * provides us with a GUI to work with this socket and the entire server in
 * general.
 * @author Mr. Davis
 */
public class GCServer extends Application
{
    public static void main(String[] args)
    {
        
    }
    
    @Override
    public void start(Stage primaryStage)
    {
        
    }
}
@@ -558,16 +558,771 @@
 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    // Since this is the server GUI, we need a server socket!%0A    private GCServerSocket serverSocket;%0A    %0A    // Some flags to represent several states our application can be in%0A    private boolean socketClosed = true;%0A    private boolean tryingToConnect = false;%0A    %0A
     publ
@@ -1366,24 +1366,37 @@
   %7B%0A        
+launch(args);
 %0A    %7D%0A    %0A

Add properties to GCServer