how to give transparency to JComboBox,JList and JTable

Answers were Sorted based on User's Feedback



how to give transparency to JComboBox,JList and JTable..

Answer / leosun

by setOpaque(false)

Is This Answer Correct ?    32 Yes 11 No

how to give transparency to JComboBox,JList and JTable..

Answer / kukku

use setOpaque(false)

Is This Answer Correct ?    16 Yes 11 No

how to give transparency to JComboBox,JList and JTable..

Answer / priya gupta

or more graphically u can use
means it will give nice looks

setContainer(Image.NULL)
and then use,
setOpaque(false)
then,
setWindowAdversity(new WindowAdversity(255,255,255))

all the best!!!!!!

Is This Answer Correct ?    5 Yes 4 No

how to give transparency to JComboBox,JList and JTable..

Answer / naveen

setContainer(Image.NULL)
and then use,
setOpaque(false)
then,
setWindowAdversity(new WindowAdversity(255,255,255))

all the best!!!!!!

Is This Answer Correct ?    2 Yes 1 No

how to give transparency to JComboBox,JList and JTable..

Answer / sushma

setContainer(Image.NULL)
and then use,
setOpaque(false)

Is This Answer Correct ?    1 Yes 5 No

Post New Answer

More Swing Interview Questions

Who created the swing?

0 Answers  


What are the swing components in java?

0 Answers  


Explain the below Statement if(ae.getSource()==b1)

2 Answers   IPSG Systems, TCS,


what are the root classes of all classes?

4 Answers  


What is the mean of swing?

0 Answers  






What is the purpose of transferhandler class?

0 Answers  


Difference between ligt weight and heavy weight?

5 Answers  


What are heavyweight components? What is lightweight component?

0 Answers  


What is a component in swing?

0 Answers  


Why should the implementation of any swing callback (like a listener) execute quickly?

0 Answers  


How to change button color in java swing?

0 Answers  


What is java awt and swing?

0 Answers  


Categories