0

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?

Yoda
  • 17,363
  • 67
  • 204
  • 344

1 Answers1

1

Here, there is this example with a Timer. How to close message dialog programmatically?

Community
  • 1
  • 1
André
  • 2,184
  • 1
  • 22
  • 30