• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JOptionPane / AppletContext problem

 
David Lambert
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi, I have this problem that's driving me nuts.
My code looks sort of like this:
answer = JOptionPane.showConfirmDialog(....);
if (answer == ok){
URL url =new URL(applet.getDocumentBase(),file);
AppletContext browser=applet.getAppletContext();
browser.showDocument(url,"_self");
}
My problem is that when browser.showDocument() executes, the browser
stops responding. If I comment out the call to JOptionPane all works
fine and the browser shows the requested url.
The problem does not occur with IE 5.0 but only with 6.0.
Thanks for any help.
david
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic