• Post Reply Bookmark Topic Watch Topic
  • New Topic

JOptionPane / AppletContext problem  RSS feed

David Lambert
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();
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.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!