• Post Reply Bookmark Topic Watch Topic
  • New Topic

How to show an Informative Panel during a certain execution in java

 
Zobair Imran
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator


I am writing a program in which large number of color of pixels are encoded in integer or Hex values. In this case it takes a long time while it is done through graphics mode I mean in an interface or JFrame. Therefore, I want to show a message stagnantly until the entire encoding is performed like "Print information while it's printing something" and whenever it is finished it says your encoding is finished press the 'view' button to see the encoded message. It would be so kind of you if I am helped by an example.

Thanks in Advance.
 
Campbell Ritchie
Marshal
Posts: 52587
119
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome to the Ranch
Go to the Java Tutorials and push ctrl-F-progress, and you get three “hits”. I think this one might be the most useful for you. Also look for SwingWorker in the tutorials.
 
Zobair Imran
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dear Campbell Ritchie,

I am extremely happy on your reply. I thank you very very much. May God bless you. Thank you very much again.

 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!