I would like to create message box with no buttons at all which will disappear for example after 2.5 seconds. I know that I can use JOptionPana.<method invokation here>
and put in the thread than kill it but maybe there is better way. If not how to create empty message box?
Asked
Active
Viewed 878 times
0

Yoda
- 17,363
- 67
- 204
- 344
1 Answers
1
Here, there is this example with a Timer
.
How to close message dialog programmatically?
-
Ok so there is no method for disappearing message box. Do you know how to create message box with no buttons? – Yoda Nov 20 '13 at 19:41
-
1Sure :) [Here](http://stackoverflow.com/questions/14126975/joptionpane-without-button) – André Nov 20 '13 at 19:43
-
Suppose someone has to sound out all the letters in your message box. Why not let the user close the box, rather than use a timer? – Gilbert Le Blanc Nov 20 '13 at 20:46
-
Suppose it is one of "those" client "requirements" – André Nov 21 '13 at 13:17