File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Applets 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 EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Applets
Bookmark "How to refresh an applet" Watch "How to refresh an applet" New topic
Author

How to refresh an applet

arun mahajan
Ranch Hand

Joined: Dec 07, 2001
Posts: 305
Hello,
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,
Arun
Dirk Schreckmann
Sheriff

Joined: Dec 10, 2001
Posts: 7023
Is the applet maybe trying to display images before they have been downloaded and are ready for displaying? Have you tried using java.awt.MediaTracker ?


[How To Ask Good Questions] [JavaRanch FAQ Wiki] [JavaRanch Radio]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to refresh an applet
 
Similar Threads
Trapping Refresh Buttons!!
How to Display time in JSP without refreshing page
How to refresh an applet
pagination when page refresh
Refresh