When I start up my server and client applications, no errors occur and both operate as expected except my server GUI doesn't appear. It functions properly though. What could be causing the problem? I would appreciate any assistance!
Note: My server's gui was operating perfectly until I tried to implement threads
I added various System.out.println(jtaResults.getText()); throughout the constructor and the text area had the correct data although the GUI not appearing.
in public void run the program executes the line ServerApp gui = new ServerApp(); but never executes gui.setVisible(true); How do i force it to set the gui to visible?
You have a while(true) loop in the constructor, so your code never hits the setVisible(true) in main(...).
However, the real issue here is that a server application is not a JFrame, so shouldn't extend it. You should create a server application that runs independent of any GUI; then link a GUI and make sure that any long running tasks execute on a Thread other than the EDT, and that all Swing methods and constructors are called on the EDT. For more, see Concurrency in Swing.
There are no new questions, but there may be new answers.