Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
The moose likes Swing / AWT / SWT and the fly likes How to make a JFrame transparent Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "How to make a JFrame transparent" Watch "How to make a JFrame transparent" New topic
Author

How to make a JFrame transparent

Alex Zhang
Ranch Hand

Joined: Apr 19, 2001
Posts: 68
Excuse me, would anyone tell me if there is any method to make a JFrame or JWindow Component Transparent to display the underlying window desktop.
THX and regards.
Cindy Glass
"The Hood"
Sheriff

Joined: Sep 29, 2000
Posts: 8521
All windows and it's subclasses like JFrame and JWindow can use the .hide() method of Window.


"JavaRanch, where the deer and the Certified play" - David O'Meara
Alex Zhang
Ranch Hand

Joined: Apr 19, 2001
Posts: 68
May be there is a misunderstanding, I mean transparent is, we just show the components such as button or table and the border of the JFrame or JWindow but not the background of the JFrame and Jwindow is the underlying content of the window desktop.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to make a JFrame transparent
 
Similar Threads
How can i make canvas Transparent
Transparent window(JFrame)
popup
Transperant Panel
Transparent JFrame