Socket « Development « Java Swing Q&A





1. Java GUI amd FPGA    stackoverflow.com

I study on a robot simulator that written on Java environment.But sonar scan simulations and computational burden of some driven algorithms on robot drop my simulator's performance. So ? have decided to ...

2. Swing code in sockets    stackoverflow.com

I am learning swings for making GUI. I was thinking which is the best possible way in case of socket with swings. 1. The whole swing code goes in the server file. ...

3. Swing Socket Testing    stackoverflow.com

I am trying a program with Swing.
I am using a socket to connect to the server, and the client has the gui code.


public class FactClient extends JFrame implements ActionListener
{
   ...

4. Problem with my whiteboard application    stackoverflow.com

I have to develop a whiteboard application in which both the local user and the remote user should be able to draw simultaneously, is this possible? If possible then any logic? I ...

5. Java memory game with GUI - String and Array comparison    stackoverflow.com

I am developing a network game of memory in java. It works (or will work) like this: A client connects to the server. The server randomly generates 12 values between 1 and ...

6. java - update client GUIs    stackoverflow.com

I am trying to make a Texas Holdem LAN game. Game flow is finished and I am now starting server/client-communication using sockets. My question is this: What is the best way ...

7. How to make TCP and UDP server both get started? Where only any one of those getting started    stackoverflow.com

When i boot this, TCPServer starts gets running but after that UDPServer does not run? And if i swap those always the first one runs. How can i boot both? All the ...

8. Cyclic dependencies- always wrong?    stackoverflow.com

1.I would like to know if the following structure is incorrect, what is the reason, and what is the solution for that: Assume I have implemented a client for net game The client ...

9. not able to get inputstream in server socket file transfer    stackoverflow.com

I have developed a screen in swings to download a file from the server. The whole concept works fine when i click the download button once. But when i click the ...





10. Socket works on command line but fails on Swing    stackoverflow.com

This question is a follow-up to this one: BufferedReader readLine method hangs and block program I have now a server and a client that runs smoothly, but then I tried to implement ...

11. help, itsnot working no more since putting in swing!    coderanch.com

This used to work fine when I did not have it with swing features. why is it so hard for it to work? //A5.Write an improved version of section A3 above using //"Swing" and "threads" as you consider most appropriate. import java.io.*; import java.net.*; import java.applet.*; import java.awt.*; import java.awt.event.*; import javax.swing.*; import javax.swing.border.*; // // //

12. GUI in a distributed system?    coderanch.com

Hi im designing a client and server architecture and when the client establishes connection with the server , a GUI interface is shown. What are the methods that i should use for the client and server in the sense that when a client clicks a button , a message is send to the server thx

13. GUI app accessing a Servlet?    coderanch.com

14. How to dial a telephone through the GUI    coderanch.com

Hi, welcome to the ranch! Years ago I made a Pascal program that made an external modem (2400 baud!) dial and then switch to voice mode. If you're using dial-up your phone is connected to your modem and you could probably try that. There used to be a javax.comm package ... don't know if it's still around or supported or what. ...

15. Swing MVC and network    coderanch.com

Hi everyone, i working on a simple application that connect to the server, wait the confirmation, enter a value and send. I am stuck on that confirmation from the server, it must wait the confirmation to send the data. How could i do that? I was looking for examples using listeners but i could not find it. Thanks in advance.

16. ssl gui example?    coderanch.com

What I mean is, all I find are ssl examples written for the console window. I want to know if there is an example out there, that you put a server and port into a textbox, and the headers in another, and press a button and you get the response into another textbox. Get it? Thanks for any help.





17. Echoing Data in a Client/Server GUI App    coderanch.com

18. Multithreaded Server App (Gui)    coderanch.com

Hey. thank you. Let me elaborate more. Yes it's a desktop Application. Clients are supppoced to be connected through sockets. And secondly where am I stuck? I am stuck with the button. When i code the server intialisation in the eventhandler, everything runs smooth. The problem is when I add the accepting() block, because my server application then freezes, but still ...

19. GUI Chat    coderanch.com

I am trying to build a socket program. It seems that my code is compiling fine but am unable to run it. The problem is that i am not able to pinpoint the problematic part. I am attaching the code for my program. Any help will be appreciated. package src; // This code calls the client and server import java.net.*; import ...

20. jsp to swing    coderanch.com

21. JSP swing communication    coderanch.com

22. Communication between a Swing Client and a Servlet via HttpURLConnection    coderanch.com

Hello, i am trying to send a request to a servlet using HttpURLConnection public class HTTPClient { private static URL url; private static HttpURLConnection con; public HTTPClient() { } public void start(String login, String passwd) { try { Joueur joueur = new Joueur(); joueur.setLogin(login); joueur.setPasswd(passwd); url = new URL("http://localhost:8001/MetierServ/Servlet"); con = (HttpURLConnection) url.openConnection(); con.setDoOutput(true); con.setDoInput(true); con.setUseCaches(false); con.setDefaultUseCaches(false); OutputStream output = con.getOutputStream(); ...

23. Help debugging and running My GUI TCP Chatroom!    coderanch.com

Hello all, I've been at this for a while, and need some input. Maybe I am just not seeing the problem and need some fresh eyes. The server compiles and run's fine. The client compiles, but then when ran I get an error "Exception in thread "main" java.lang.NullPointerException at MyChatClient3.main(MyChatClient3.java:118)" If you guys could take a look it would be much ...

25. GUIs and Sockets    forums.oracle.com

Hello, I'm writing a program with a convenient GUI that connects to a server, and listens for messages from said server. The GUI, among other things, contains a Connect and Disconnect button. Clicking on the Connect button would have the program connect to the server, and listen for messages. Clicking the Disconnect button would have the program stop listening and disconnect. ...