aspose file tools*
The moose likes Swing / AWT / SWT and the fly likes Applet with images overlayed and each image with a menu. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Applet with images overlayed and each image with a menu." Watch "Applet with images overlayed and each image with a menu." New topic
Author

Applet with images overlayed and each image with a menu.

george franciscus
Greenhorn

Joined: Nov 26, 2003
Posts: 28
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..
saager mhatre
Ranch Hand

Joined: Dec 20, 2000
Posts: 61
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!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Applet with images overlayed and each image with a menu.
 
Similar Threads
Component Please??
to draw and remove lines on click of mouse
problem in drawing deleting a line on the click of a mouse
drag n drop of icon
How to make popup invisible