• Post Reply Bookmark Topic Watch Topic
  • New Topic

transparent components..challenging task

 
narayana murthy pedapudi
Ranch Hand
Posts: 42
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi friends,
in need a help...
I want to use a jpanel which is transparent.....
what exactly i need is i am adding some background image using jlabel and image icon...
what i need is if i add a jpanel on that image i must see that image...
as a bckground to any component..
bye for now
 
Nathan Pruett
Bartender
Posts: 4121
IntelliJ IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can use setOpaque( false ) to make a component transparent.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!