Click here to Skip to main content
15,881,089 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hi,
i want to implement chat application in java..there is one server and multiple clients can connected to server,server accepts clients and store clients name in the vector, so i want to display that vector to the all clients form , how can i do?
please give me answer,pls pls its argent.....
thnk u....
Posted
Updated 23-Oct-13 0:53am
v2
Comments
TorstenH. 23-Oct-13 6:53am    
I added the homework tag.

1 solution

simplest:
convert Vector to Array and push into JList.

More advanced (with more options):
Create Renderer and make Jlist work on Model.


References:
JList API Documentation[^]
Java Tutorials on JList[^]
 
Share this answer
 
Comments
Member 9877729 23-Oct-13 14:36pm    
thanku....
but i used RMI in the application,in user interface implementing java file i override a getOnlineUser() method which stored that vector into a string array, but it dosnt work...

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900