• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

on popup.show() how to disable all applets of web page

 
Aditya Singh
Ranch Hand
Posts: 62
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I created a web page with 3 applet using swings components. Requirement is to disable this webpage (all three applet) when one of them shows a popup.

I used java swings popup class to get this popup which has only show/ hide method so I am not finding a way to disable all three applet when this popup is shown.

Thanks in advance for your suggestion.

Regards,
Aditya
 
Moojid Hamid
Ranch Hand
Posts: 120
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Google inter applet communication. IMO using Observer pattern with a Singleton object is the simplest solution.
 
Aditya Singh
Ranch Hand
Posts: 62
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for reply.

I am still wondering, Is there any inbuilt component like JOptionPane when it comes .. it will block all applet of same webpage.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic