I made this simple chatclient chat server gui using applet. I have set the run config such as the port number and the localhost thingy. but when I run the server no problem. It's is the chat client that seems to cause the problem, but when i look at the line I don't know whats wrong with it and therefore don't know what to change. Any help would be fantastic. Sorry for posting a lot of code.
This is all the problems when i run the chatclient:
At line 113 from your ChatClientClass, you're trying to parse the port to an integer. Where does the port come from? I can't see a getParameter method in your code, my gues is the value retrieved from that method contains a or multiple letter(s) or someother non-digit characters that can't be parsed
It's good to be able to use someting, it's better to understand how it works.