participate


Swing - Help with swings for socket Programming
<<   Back to Forum  |   Give us Feedback
This topic has 3 replies on 1 page.
AnDY
Posts:2
Registered: 1/5/07
Help with swings for socket Programming   
Jan 5, 2007 5:50 AM

 
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
 
Mohanty
Posts:5
Registered: 1/5/07
Help with swings for socket Programming   
Jan 5, 2007 6:42 AM (reply 1 of 3)  (In reply to original post )

 
hi im Anand(AnDY),
i hav lost my AnDY account..plz reply to this topic keeping me in mind :p
 
camickr
Posts:32,726
Registered: 2/27/98
Re: Help with swings for socket Programming   
Jan 5, 2007 9:10 AM (reply 2 of 3)  (In reply to original post )

 
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.
 
Mohanty
Posts:5
Registered: 1/5/07
Re: Help with swings for socket Programming   
Jan 6, 2007 12:48 PM (reply 3 of 3)  (In reply to #2 )

 
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...
 
This topic has 3 replies on 1 page.
Back to Forum
 
Read the Developer Forums Code of Conduct

Click to email this message Email this Topic

Edit this Topic
  
 
 
Forums Statistics
    Users Online : 29
  • Guests : 132

About Sun forums
  • Sun Forums is a large collection of user generated discussions. It is here to help you ask questions, find answers, and participate in discussions.

    Check out our guide on Getting started with Sun Forums for a full walkthrough of how to best leverage the benefits of this community.

Powered by Jive Forums