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

How to render an html page using only swing.

0 Answers  


What is an event handler in swing?

0 Answers  


What is java swing components?

0 Answers  


What is the mean of swing?

0 Answers  


What is frame in java swing?

0 Answers  






What is java panel swing?

0 Answers  


What is java swing used for?

0 Answers  


What are the components of swing in java?

0 Answers  


What are the components of java swing?

0 Answers  


Which method of the Component class is used to set the position and size of a component?

0 Answers  


What is difference between applet and swing?

0 Answers  


What is swing gui?

0 Answers  


Categories