This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
Hi all friends, I am developing one uploading software it is a total automatic process of uploading user only copy the files in predefind folder and click on upload button once and my software starts uploading one by one from queue and move the file one by one into another folder automatically after completion of uploading.After that in between uploading if user copy more files in that folder my software automatically takes those file for uploading not require to click on upload button again.Now I am facing problem on writing confirmation message of uploading of every file on my swing interface which my servlet writing on PrintStream after completion of writing of every file on destination.But my interafce not writing those confirmation messages on textArea but it is writing confirmation message of last file on Dos-Prompt coz iam running my application from Dos-prompt.I want to write every file's uploading confirmation message on textArea of my swing application.Can any one plz guide me how I can do that.Below r my codes:- swing application(Iam pasting those portion only):-
hi, your Loglater class is broken, I think. you should not instantiate a Thread from inside itself. this looks like a loop. separate the controll from the logging functionality:
actually, as logging need not be necessarily sync you can use SwingUtilities.invokeLater() in any case. which saves you from checking for the event thread. cheers, Chantal [ May 14, 2003: Message edited by: Chantal Ackermann ]
Joined: Dec 04, 2001
Hi, I tried to complie ur given class but it is giving me compilation error(Identifier Excepted) on below line:-
Can u plz guide me why it is giving me error. Regards Bikash