Display a message box
in
Programming Questions
•
2 years ago
I have a little problem. I am working on an application that is in its finishing stages right now and there are only a little minor issues that I need to solve. When someone clicks a button I want to notify him that the action was completed / or not. The best way to do is by using message box.
javax.swing.JOptionPane.showMessageDialog(null, "bla bla");
I tryed this one and I can't say that I like the results. Sometimes it works as expected but sometimes it just crashes and doesn't show or it does show but doesn't close, ...
I realy want something easy to impelent - with a few lines of code because I just need to show the message and close. I don't need anything else. Any ideas on what I could use? Or maybe I can somehow make the swing version work?
javax.swing.JOptionPane.showMessageDialog(null, "bla bla");
I tryed this one and I can't say that I like the results. Sometimes it works as expected but sometimes it just crashes and doesn't show or it does show but doesn't close, ...
I realy want something easy to impelent - with a few lines of code because I just need to show the message and close. I don't need anything else. Any ideas on what I could use? Or maybe I can somehow make the swing version work?
1