User Profile

Collapse

Profile Sidebar

Collapse
sivakrish85
sivakrish85
Last Activity: Sep 23 '08, 06:55 AM
Joined: Sep 23 '08
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • sivakrish85
    started a topic Refreshing and updating JTree.
    in Java

    Refreshing and updating JTree.

    Hi,

    this is krishna i am on developing FTP in java.Here i display the server Files and

    client Files in tree view using JTree.So my question is that once the client send

    the file to server (or) server send the file to client.The new file(or) folder should be

    added as a node in Jtree.After clicking refresh option in pop up.The tree is not get

    updated.Here i am using Default...
    See more | Go to post

  • Here for Asynchronous File transfer you need to create two threads one for reading thread and Writing thread in both client and server.
    when server accept the client socket it must assist the client with these two threads.
    i am a java developer so i will show u some example in java itself.

    public static void main(String args[])
    {
    ServerSocket soc=null;
    try
    {
    soc=new ServerSocket(66 00);...
    See more | Go to post

    Leave a comment:

No activity results to display
Show More
Working...