Use swing layout nio non-blocking imitation flying Autumn chat program, switch skin color what small function after slowly do
Start the main program. When the user opens the main program to automatically obtain LAN segment IP can be set-up IP segment filtering, have JMF video chat function (get video stream read to Bytebuffer and then write Datagramchannel), in fact, what functions are can add the late, simple introduction under
Double-click the user to chat (the first version is a channel-based operation, non-blocking, this version is block-type)
Automatically open a thread to process client requests and accept data when a message is sent, and prompt for new messages on the header
The client receives the data returned by the server and prompts for a new message on the header, indicating that the other party is entering the function if it is entering a title
Demo: http://v.youku.com/v_show/id_XMTI1MjcxMTY2NA==.html?firsttime=0&from=y1.4-2
A time ago in Java did a non-blocking imitation of the autumn chat program