File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to make a JFrame transparent

 
Alex Zhang
Ranch Hand
Posts: 68
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 8521
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
All windows and it's subclasses like JFrame and JWindow can use the .hide() method of Window.
 
Alex Zhang
Ranch Hand
Posts: 68
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic