showMessageDialog « Dialog « Java Swing Q&A





1. Two problems with showMessageDialog    coderanch.com

I'm using a dialog box with the following code: JOptionPane.showMessageDialog(null, "The filename must end with '.csv'", "Save File Error", JOptionPane.ERROR_MESSAGE); Sometimes, seemingly at random, the message and the OK button don't show up. Just the dialog box and the title. Moving the mouse over it makes the OK button show up. Has anyone else experienced this and is there a way ...

2. need showMessageDialog help    coderanch.com

3. problem with showMessageDialog    coderanch.com

Hi everyone, I seem to be having trouble displaying a message dialog.My application requires user input to a textField in a specific format(say hh-mm-ss).And whenever user enters invalid i/p,a dialog should appear saying "this is the wrong format.Please enter in the format hh-mm-ss" and in the dialog there is only one button ok.when pressed the user should be prompted to enter ...