Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

"Please Wait" Dialog Box 1

Status
Not open for further replies.

Stevoie

Programmer
Jun 7, 2001
68
IE
Does anyone know how to create a simple Dialog box, that displays a "Please Wait" message to the user with no buttons, i'll kill it when something has happened. It would be similiar to JOptionPane but without the buttons.

Any suggestions would be great.
Thanx.
 
I am not clear what you mean
"I'll kill when something happens"
Could you explain it

 
Sorry, to clear things up.
i call a function to read in a large file from the hard drive, when i start this I want to display a "Please Wait Loading" Dialog box(no buttons) to the user, when the function has finished reading the file, I'll then close the Dialog box.
Can this Dialog box be created with only a few lines of code?
 
Just a thought - Not sure how well this would work...

Maybe create a normal Swing or awt window with just the 'Please Wait' text in it. When you load your program you could have this window's visiblity set to false. Then whenever you need to show the 'Please Wait' window set the visibilty to true.

Hope this helps.

Steve
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top