I'm working on a small test server that displays "hello world" on both the server screen and the client screen. my problem is when i disconnect the client "ctrl-c" the server doesn't know this. how do i detect that the client has disconnected so the server can reset itself and wait for a new...
I'm trying to read a file on the same system as the applet and display it in an applet window. my problem is the file which includes line breaks displays on one line. how can i fix this???
import java.applet.Applet;
import java.awt.Graphics;
import java.io.*;
public class Simple extends...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.