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

Which package is needed for swing components?

0 Answers  


Is swing better than awt?

0 Answers  


what do u mean by GUI framework

1 Answers  


what is the diff's between swing and applet?

17 Answers   Invictus, Patni,


What's java swing?

0 Answers  






When we should go for codebase in applet?

0 Answers  


What do you mean by java swing?

0 Answers  


What is a swing day?

0 Answers  


What is the use of swing in java?

0 Answers  


Hello Everyone.. I m trying to develop a java swing application where i can display a doc file Jeditorpane or Jtextpane.

0 Answers  


What are tab pans?

3 Answers  


Is java swing still used?

0 Answers  


Categories