Results 1 to 5 of 5
  1. #1
    cool is offline Member
    Join Date
    Nov 2010
    Posts
    20
    Rep Power
    0

    Default Java progress monitor

    Hi,
    I am developing an GUI for backup, for which i need to show log of files, i am reading files names from a log file, and i need to display it in a frame, i am adding it as a label in panel, but the panel not getting refresh. means the files list gets added only once and not updating, can somebody help?? can we display files names in progress monitor??

  2. #2
    Fubarable's Avatar
    Fubarable is offline Moderator
    Join Date
    Jun 2008
    Posts
    19,316
    Blog Entries
    1
    Rep Power
    26

    Default

    Are you doing this process in a background thread such as a SwingWorker, or is it being done on the main Swing thread, the EDT?

  3. #3
    cool is offline Member
    Join Date
    Nov 2010
    Posts
    20
    Rep Power
    0

    Default

    Hi, I have created a thread, in which using timer, in run method i am checking the file in evry 2 seconds..

  4. #4
    curmudgeon is offline Senior Member
    Join Date
    May 2010
    Posts
    436
    Rep Power
    5

    Default

    Quote Originally Posted by cool View Post
    Hi, I have created a thread, in which using timer, in run method i am checking the file in evry 2 seconds..
    So, you mean it's working then? Because if not, you haven't given us much information to go on here.

  5. #5
    cool is offline Member
    Join Date
    Nov 2010
    Posts
    20
    Rep Power
    0

    Default

    hi, curmudgeon, Fubarable yep my problem resolved... thanx for listening to me...:)

Similar Threads

  1. monitor the progress of sending a file to client
    By adumi in forum Advanced Java
    Replies: 9
    Last Post: 04-23-2010, 09:55 PM
  2. How to use timer to monitor lengthy loop progress
    By JotaPe in forum New To Java
    Replies: 7
    Last Post: 06-26-2009, 06:14 AM
  3. printer monitor in java
    By sundarjothi in forum Advanced Java
    Replies: 1
    Last Post: 06-14-2008, 02:52 AM
  4. Java Application Monitor API 2.6
    By levent in forum Java Software
    Replies: 0
    Last Post: 06-04-2007, 08:08 AM
  5. Java Application Monitor API 2.5
    By levent in forum Java Software
    Replies: 0
    Last Post: 05-21-2007, 10:03 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •