aspose file tools*
The moose likes Applets and the fly likes loading  applet  problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » Applets
Bookmark "loading  applet  problem" Watch "loading  applet  problem" New topic
Author

loading applet problem

suppi venkat
Greenhorn

Joined: Oct 26, 2004
Posts: 2
The first time my applet is loaded it take time which is quite ok ,but later after the applet is loaded even when i refresh it ,it still take a lot of time.Iam using the object tag for that which the cache_archives ="my jar file which contains the images", cache_option="browser" .I want to know is it necessary to use my archive property too .If yes what value archive should contain.

The same problem occurs when i move from the applet screen and come back to it ,it still shows my applet as loading.

please reply as soooooon as possible.
Murali Kurukunda
Ranch Hand

Joined: Oct 20, 2003
Posts: 36
I think the applet gets reloaded everytime you refresh the page. You can put ur applet on a page that does not get reloaded. One way of doing this is to use IFRAME.
basically you put your current html page that has object tag inside another html page's IFRAME.

you would do something like this:
new.html
<body>
<IFRAME id="mypage" src"old.html"></IFRAME>
</body>

where old.html is your current html that has OBJECT tag etc.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: loading applet problem