Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Events of Applets

Posted on 2000-03-12
1
Medium Priority
?
296 Views
Last Modified: 2012-08-14
When I load an applet from the HTML page, I want to know the exact moment where the applet has fully been loaded.

I've tried using "onreadystatechange" event, which works on elements like a table.

Is there an event on an applet object that is raised when applet is fully loaded ?
0
Comment
Question by:KobiT
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 1

Accepted Solution

by:
dvd99 earned 150 total points
ID: 2610700
<SCRIPT>
 function isAppletReady(a) {
    return a.isActive();
    }
 </SCRIPT>

 <FORM>
 <INPUT TYPE=button
       VALUE="Check applet"
      onClick="if (!isAppletReady(document.applets[0])) alert("not ready");" >
 </FORM>

Here you go this will tell you if the applet is ready.
I recomend you change certian things to match the look of your site.

As for Applet events public void Start()
is called when the applets starts.
Hope this helps.
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Today, the web development industry is booming, and many people consider it to be their vocation. The question you may be asking yourself is – how do I become a web developer?
Without even knowing it, most of us are using web applications on a daily basis.  In fact, Gmail and Yahoo email, Twitter, Facebook, and eBay are used by most of us daily—and they are web applications. We generally confuse these web applications to…
The viewer will receive an overview of the basics of CSS showing inline styles. In the head tags set up your style tags: (CODE) Reference the nav tag and set your properties.: (CODE) Set the reference for the UL element and styles for it to ensu…
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

618 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question