Two Laptop Bag*
The moose likes Applets and the fly likes Applet+Image Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Applets
Bookmark "Applet+Image" Watch "Applet+Image" New topic
Author

Applet+Image

Ramesh Devendra
Greenhorn

Joined: Mar 30, 2001
Posts: 4
Sir,
Our all GIF file is in Subdirectory and one button is in applet.when every time click event become change image.
How to show in applet every click event changed image.
Please give me code.

IIT,Kanpur


UBB code
Nathan Pruett
Bartender

Joined: Oct 18, 2000
Posts: 4121

Ramesh,
Since you didn't post any code, I don't know if this is what you need, but here is some code that I had that was easy to modify into what you described...

HTH,
-Nate


-Nate
Write once, run anywhere, because there's nowhere to hide! - /. A.C.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Applet+Image