This week's book giveaway is in the OCAJP 8 forum.
We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line!
See this thread for details.
The moose likes Beginning Java and the fly likes How to refresh an applet Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "How to refresh an applet" Watch "How to refresh an applet" New topic

How to refresh an applet

arun mahajan
Ranch Hand

Joined: Dec 07, 2001
Posts: 305
I want an program whose objective is to show some images in an applet. This applet should also have two buttons "Next" or "previous" as at one time I want to show only 15 images. I am able to show the first 15 images in the applet with the button "Next" but now when I click at this button it do all the processing but never refresh it...what I mean I could not able to see new images...
But If I try with the AppletContext concept and load the applet once again against a new HTML I can see these images...
Is there any know problem in refreshing applets or AppletContext is the only way of refreshing it.
Thanks & regards,
Dirk Schreckmann

Joined: Dec 10, 2001
Posts: 7023
To The Applets Forum...

[How To Ask Good Questions] [JavaRanch FAQ Wiki] [JavaRanch Radio]
I agree. Here's the link:
subject: How to refresh an applet
It's not a secret anymore!