*
The moose likes Beginning Java and the fly likes See Through Background Image 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 » Beginning Java
Bookmark "See Through Background Image" Watch "See Through Background Image" New topic
Author

See Through Background Image

james wilson
Greenhorn

Joined: Nov 17, 2001
Posts: 15
Hey,
I am trying to make the background of a frame so that it is a kind of see through grey colour, so that whatever is behind the frame is still visible. Is this possible? If so any help greatly appreciated.
Cheers
James
Rob Ross
Bartender

Joined: Jan 07, 2002
Posts: 2205
You could eventually get a JInternalFrame to exhibit this behavior, but not a JFrame. A JFrame is a native-OS peer; it's drawn by the native platform. Most platforms don't give you the ability to have translucent frames. Mac OS X does this, but this is certainly not a pure-java feature, and you would have to use some Mac-specific library to achieve this.


Rob
SCJP 1.4
 
Don't get me started about those stupid light bulbs.
 
subject: See Through Background Image
 
Similar Threads
Stretch the image size.
Problem in setting the background of a frame
image problem
Problem with Frame
awt