I
Ike
I have a JFrame, called from a JApplet.
Within that JFrame, I have:
final DownloadingDialog downloadingDialog = new DownloadingDialog(this);
SwingUtilities.invokeLater(new Runnable() {
public void run() {
downloadingDialog.show();
}
});
// downloadingDialog doesnt do ANYTHING, just shows itself!
//later down in this same method which created downloadingDialog...
downloadingDialog.dispose();
However, the dialog....never disappears....it just keeps running modally? I
must not understand something about SwingUtilities.invokeLater such that I
cannot get this to actually dispose. What simple thing am I missing here?
Thanks Ike
Within that JFrame, I have:
final DownloadingDialog downloadingDialog = new DownloadingDialog(this);
SwingUtilities.invokeLater(new Runnable() {
public void run() {
downloadingDialog.show();
}
});
// downloadingDialog doesnt do ANYTHING, just shows itself!
//later down in this same method which created downloadingDialog...
downloadingDialog.dispose();
However, the dialog....never disappears....it just keeps running modally? I
must not understand something about SwingUtilities.invokeLater such that I
cannot get this to actually dispose. What simple thing am I missing here?
Thanks Ike