• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Transparent JcomboBox

 
Sathish Nayak
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
How to make JComboBox Transparent. I have got code for making editor transparent. How to make drop down list transparent?
 
Campbell Ritchie
Sheriff
Posts: 48652
56
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome to the Ranch.

Not sure, but have you tried setOpaque(false)?
 
Michael Dunn
Ranch Hand
Posts: 4632
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
you won't do it with the standard popup, or dialogs or frames.
you would have to build your own popup.

However, there appears to be a translucent option in a very recent (test?) version.
Haven't tested it, so the link is probably worth a read

http://www.pushing-pixels.org/?p=260
 
Sathish Nayak
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you for reply.
Can i get some code of custom combobox with transparent popdown.
 
Sathish Nayak
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please Any Help......
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic