aspose file tools*
The moose likes Swing / AWT / SWT and the fly likes Transperant Panel Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Transperant Panel" Watch "Transperant Panel" New topic
Author

Transperant Panel

mitesh mehta
Greenhorn

Joined: Aug 29, 2002
Posts: 25
I want to add a transperant Panel over a Frame.
Can any please suggest how to do it?
Any help will be appreciated.
Thank you.
Mitesh
Rene Liebmann
Ranch Hand

Joined: May 02, 2002
Posts: 196
Hi,
what is the reason for adding a transparent panel?
A JFrame already has a transparent pane, the GlassPane. Maybe this is enough for you?
Nathan Pruett
Bartender

Joined: Oct 18, 2000
Posts: 4121

"mitesh_mehta" -

Welcome to the JavaRanch! Please adjust your displayed name to meet the
JavaRanch Naming Policy.
You can change it here.

Hmmm... maybe you should look at the GlassPane API that Rene suggested... JPanel also has a setOpaque() method that might be of use to you...

Thanks! and welcome to the JavaRanch!


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