How do you do a java-based chat, any ideas?
Java makes programming a chat applications really easy. Look up sockets in java and thats all you will need for a very basic one. Get that far and when you encounter problems or what to do more complicated stuff with the program (like maybe a secure RSA encryption) chat program let me know and i'll be able to lend a hand.
Basically it's like he said: look up sockets. The PrintWriter will probably be used, but you have your options open for choosing a Class that will read and write data. Split functionality up as much as you can when writing out the classes. And that's about all I have right now. Get a little done and we can help you more as he said.
I see alot of things referring to a .jar file, is that the applet itself?
no, applet is just another class which can be run under web browsers...
jar is Java ARchive. with jar files it is very easy to transfer your programs (which generally have more then 1 file)
If you think Java is complicated, try some entry level tutorials first before diving into creating multithreaded networked applications.
Sun has some great tutorials, and O'Reilly has their excellent "Head First Java" book to get you up and running.
Java can be intimidating at first but i agree with jwenting that you should get some entry level tutorials. The official sun tutorials are extremely good and you also yahoo for them.
If you were building a chat program i would suggest that you used a java application rather than an applet as it has lesser restrictions. Also try learning about basic networking i.e sockets.
Hey, so I wanna ask how I need to create a method who will remove word if in that word is 2 same chars. Example: "Potato" in this word there is a 2 "o" chars so this word will need to be removed. "Forum" in this word there is no ...
Hi. I have a form with list box : lst_product, datagridview : grd_order and button: btn_addline. lst_product has a list of product ids selected from database (MS Acess 2013) , grd_order is by default empty except for 2 headers and btn_addline adds rows to grd_order.
Private Sub btn_addline_Click(ByVal ...
Hi, as I was told that my code doesn’t scale well at all, I thought perhaps I’d try to get a better understanding of interfaces/abstract classes and classes and the relationship between them.
I don’t want at this stage work on a big separate project as I've already got plenty ...