Hi,
I had posted this question earlier..Im using JDK 1.3 & Im trying to make a JOptionPane modal by extending JDialog, it was shown as modal in JDK 1.2 , but the moment I tested in JDK 1.3 it doesnt show as modal, any ideas?
here's my code..
private int showDialog(JOptionPane pane ,
String title)
{
JDialog dialog = pane.createDialog(japplet, title);
dialog.setModal(true);
dialog.setResizable(false);
dialog.show();
......
}// EOF showDialog()
I received this response "JOptionPane has built-in methods to handle this. Have you tried using JOptionPane.showMessageDialog()? Dialogs built in this way are modal by default."
But it still doesnt remain modal in JDK1.3 & on a Win2000 machine..so any suggestions?
Vinod