This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Swing / AWT / SWT and the fly likes Glass panes -- transparent panes Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Glass panes -- transparent panes" Watch "Glass panes -- transparent panes" New topic

Glass panes -- transparent panes

Uris Guerra

Joined: Feb 16, 2005
Posts: 9
Hi, I need to be able to draw and to insert small "icons" on top of an image. The background image will never be changed, but I need the ability to draw on it and to generate events. I was thinking if maybe there are any glass panes or transparent panels that can be placed on top of the image, and then draw on the transparent panel. Can anyone help?
Michael Dunn
Ranch Hand

Joined: Jun 09, 2003
Posts: 4632
this might do what you want

Ilja Preuss

Joined: Jul 11, 2001
Posts: 14112
Moving to Swing/AWT...

The soul is dyed the color of its thoughts. Think only on those things that are in line with your principles and can bear the light of day. The content of your character is your choice. Day by day, what you do is who you become. Your integrity is your destiny - it is the light that guides your way. - Heraclitus
I agree. Here's the link:
subject: Glass panes -- transparent panes
Similar Threads
Setting a Glass Pane for JPanel
JTextArea image
Using the IndexColorModel class to create a BufferedImage
image transperancy
Making Palette