Win a copy of Java 9 Revealed this week in the Features new in Java 9 forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Applets and Modal Dialogs  RSS feed

 
Marvin Monk
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is it reasonable to have an applet that is hidden on load, and only make it visible when
called from JavaScript? Maybe just use the applet's "dialog" and not the content pane itself?
The idea is to get a modal dialogbox functionality in HTML that will be more user friendly (for multiple textbox entry/business rules) than JavaScript's alert(), confirm(), input().
Is this something that people do?
Thanks...Marv
 
Michael Morris
Ranch Hand
Posts: 3451
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Marvin,
I haven't messed with any JavaScript in a couple of years, but it seems to me that you could probably pull that off using frames and loading the applet into one of those frames when you're ready for the dialog and have the applet close itself when it was done.
Hope this helps
Michael Morris
SCJP2
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!