• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

How do you having a varying content in a JFrame's status bar?

 
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I have a swing application, in which I have a title bar. In this application, when I do any lengthier operation, lets say, fetch some records based on a complex criteria, I want my status bar to say "Processing Request" and should refresh to "Processing completed." when the page gets painted again.

Right now, though I have 2 messages, I seeing the final message alone, only after the operation gets completed. Till such time, I only see the background of the application itself.
I tried implementing a JTextField to have the status bar text, but the same result. Can you tell me how I can do it?
[ September 30, 2004: Message edited by: SrinivasanRG Gopal ]
 
Ranch Hand
Posts: 342
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I suspect you will need to do the processing in a new thread, I think that way you should be able to update the GUI while the processing is going on
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic