• Post Reply Bookmark Topic Watch Topic
  • New Topic

Is there any way to start an invisible applet after click the button

 
rose deng
Ranch Hand
Posts: 78
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
Basically, when a client succesfully retrieve a webpage which embed an applet, the applet will initialize and start. I coded an invisible applet, what i want to do is initialize and start the applet until the client click the button.
Can i do that, if so,how to?
Thanks for your gift idea in advance.
 
karl koch
Ranch Hand
Posts: 388
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi,
did i get you right ?
you want to start the applet invisible and then upon button click (a html form button or image) the applet is displayed ?
well, i think you can call applet methods from Javascript. i dont know how this works exactly but perhaps this leds you to the right direction.
karl
 
Nathan Pruett
Bartender
Posts: 4121
IntelliJ IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Why not just have part of the applet invisible and have a visible button on the applet to show the invisible part... I think we need more info on what you are trying to do...

-Nate
 
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!