I am working on a Project for my MScIT on Distributed Computing...which involves socket programming(UDP)....i am working on some algorithms like Token Ring, Message Passing interface, Byzantine, Clock Synchronization...i have almost finished working on these algorithms...but now i wanna give a good look to my programs..using swings but i am very new to swings...so can anyone help me with some examples involving swings with socket programming...any reference...any help would be appreciated...please help im running out of time..
thanking u in advance.
anDy
Socket programming is socket programming. It doesn't change just because you are using Swing (except maybe that you need to use Threads so the Socket doesn't block the GUI). Swing it just a GUI interface that can be used to display the data passed between your sockets. So I suggest you start to learn Swing by reading the [url http://java.sun.com/docs/books/tutorial/uiswing/TOC.html]Swing tutorial[/url]. There are no specific Swing and socket programming examples though. You just combine your knowledge of both to make a Swing application that uses sockets.
If you want you can search the forum for "echo.zip" which has my relatively simple example of a client / server application.
thanks a lot for your Reply...this is wat im trying to do currently using my knowledge on both and working....but i havnt been able to make my server and client communicate through swings...