JOptionPane.showOptionDialog(null....) does not show up the dialog at all.
Hello guys,
I used JOptionPane.showOptionDialog(null,....). Null as first parameter indicates that the parent for this dialog is not known.
My question here is if I run the code from eclipse, sometime I see the dialog coming under the main window and sometimes over the main window of my application (centered).
However, if I run the application from release build (Made local build using eclipse and installed the application), the dialog does not come up at all and the application freezes. It looks like the application is blocked due to dialog not coming up.
Can you please tell me why this difference when run from eclipse and from build? :=(:
Help will be appreciated.
Thanks,
bristow