Most Listener interfaces also have abstract Adapters.
Instead of having your custom window listener implement WindowListener, make it extend WindowAdapter (WindowAdapter (Java Platform SE 7 )) and...
Type: Posts; User: aussiemcgr
Most Listener interfaces also have abstract Adapters.
Instead of having your custom window listener implement WindowListener, make it extend WindowAdapter (WindowAdapter (Java Platform SE 7 )) and...
Look at what Norm advised. You can create a custom event for a window being closed. It would be a very good idea to handle closing the sockets in the window listener.
Ok, so clearly you are opening the port with your program and it is staying open. That is a good information for us to work with.
The finally statement will almost always execute, even if an...
Ok, so we need to do a bit of debugging.
If the exported jar from May still works, and nothing has changed in the code, this could indicate some change in the java JDK, but it seems very unlikely...
What ports do XAMPP use?
Try opening your command prompt and entering: "netstat -a".
It will list your ports. Have a look if the port in question is actually being used at the time.
If it isn't...