• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Liutauras Vilda
  • Jeanne Boyarsky
  • paul wheaton
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Henry Wong
Saloon Keepers:
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Tim Moores
  • Mikalai Zaikin
Bartenders:
  • Frits Walraven

How to start JVM *after* a page has loaded?

 
Ranch Hand
Posts: 401
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
My web site has two main pages: a welcome page and an applet page.

To make the applet page load as quickly as possible, I included a small applet in the welcome page with the sole purpose of getting the jvm started, but that results in the welcome page taking too long to load...

Does anyone know of a reliable way to get the jvm to load *after* the page has loaded? I know, with javascript, I could use the onload event to write some applet code into the html, but I haven't had good results with this approach.

I've also tried using the onload event to popup another window that contains an applet but must popup blockers block it.

Anyone had any success in this area or have any ideas?

Cheers,
James
 
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
What version of JVM you are running?

Based on my expierence, applets do not take that long time to start up. Not to the extent where you need to run a dummy applet to start up the JVM...

You're using the <applet> or <object> tag I assume?
 
Lasagna is spaghetti flvored cake. Just like this tiny ad:
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
    Bookmark Topic Watch Topic
  • New Topic