Applet with images overlayed and each image with a menu.
Joined: Nov 26, 2003
Hi, I am in development of a JApplet to display images in overlayed on each other like A big image overlayed by some other small images and on and on.. And each image on mouse over it should show a menu with some private options for that image.. How could I do that.. Presently I have extended a Jpanel and implementing mouseListenr like this..
The above one I am using like this..
But what is happening is last added image only I am able to see and the mouse events are occuring for only last added image.. Can somebody help me in this.. Thanks a lot in advance..
Joined: Dec 20, 2000
Your ImagePanel Class seems pretty atomic in that it doesn't seem to go beyond itself. What I now need to know is how you add ImagePanel's to the container that will ultimately display the overlayed images and what LayoutManager it uses. I think that's where the problem lies!