This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
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 The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript 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