Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / July 2006

Tip: Looking for answers? Try searching our database.

browser reload button and Applet

Thread view: 
Daisy - 30 Jun 2006 12:45 GMT
A few months ago, I changed my desktop application to an Applet.
Generally it works well.  However, I have a challenge with the reload
button.

When a user hits the reload button, the browser footer says "Applet
loaded", the Java console shows Applet logging messages indicating the
Applet loaded, but the Java plug-in picture cycles infinitely.  I mean
the icon with the coffee cup on top of the word Java.

What's best practice?  Do I somehow create a reload button listener?

Thanks!
Andrew T. - 30 Jun 2006 13:03 GMT
> A few months ago, I changed my desktop application to an Applet.

What led you to that decision?  Most projects go the other way.*

> Generally it works well.  However, I have a challenge with the reload
> button.

Which browser?  What version of the browser?
Which OS?  What OS version?   Using which Java version?

* Can you guess why, now?

> When a user hits the reload button, the browser footer says "Applet
> loaded", the Java console shows Applet logging messages indicating the
> Applet loaded, but the Java plug-in picture cycles infinitely.  I mean
> the icon with the coffee cup on top of the word Java.
>
> What's best practice?

Avoid applets altogether, unless there is a pressing need for
funcionality that only an applet can provide (which is rare).

Andrew T.
Oliver Wong - 06 Jul 2006 18:59 GMT
>A few months ago, I changed my desktop application to an Applet.
> Generally it works well.  However, I have a challenge with the reload
[quoted text clipped - 4 lines]
> Applet loaded, but the Java plug-in picture cycles infinitely.  I mean
> the icon with the coffee cup on top of the word Java.

   Does the applet still run correclty? If so, can you just ignore that
icon? I believe what the JVM does with respect to icons in taskbars is out
of your control.

   - Oliver


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.