• Post Reply Bookmark Topic Watch Topic
  • New Topic

Applet tag events  RSS feed

 
carlos sanchez
Ranch Hand
Posts: 45
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I've been looking around for an event on the applet tag to redirect to a html page WHEN the applet has finished its job. There's nothing as afterloading="window.open("kjfsd.html");" ,etc.
Any trick?
 
Jasmine kaur
Ranch Hand
Posts: 160
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,
you can use shoDocument() method in applet ,please see parameters of this method in AppletContext interface which by default implemented by Applet.so you can use this method just try.
Thanks
 
carlos sanchez
Ranch Hand
Posts: 45
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Great! thanks a lot!!!
 
carlos sanchez
Ranch Hand
Posts: 45
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Just one more!
If that URL is a local html page (not in an internal server, just the page!)
 
carlos sanchez
Ranch Hand
Posts: 45
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
file://C:\
Just founfd it!!
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!