ALLInterview.com :: Home Page KalAajKal.com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
tip   SiteMap shows list of All Categories in this site.
Google
 
Categories  >>  Software  >>  Java J2EE  >>  Java Related  >>  Swing
 
 


 

 
 Core Java interview questions  Core Java Interview Questions
 Advanced Java interview questions  Advanced Java Interview Questions
 Swing interview questions  Swing Interview Questions
 EJB interview questions  EJB Interview Questions
 Servlets interview questions  Servlets Interview Questions
 Struts interview questions  Struts Interview Questions
 JDBC interview questions  JDBC Interview Questions
 JMS interview questions  JMS Interview Questions
 SunOne interview questions  SunOne Interview Questions
 J2EE interview questions  J2EE Interview Questions
 Weblogic interview questions  Weblogic Interview Questions
 Websphere interview questions  Websphere Interview Questions
 Java Networking interview questions  Java Networking Interview Questions
 Java J2EE AllOther interview questions  Java J2EE AllOther Interview Questions
Question
how to give transparency to JComboBox,JList and JTable
 Question Submitted By :: Hareesh@elitekraft
I also faced this Question!!     Rank Answer Posted By  
 
  Re: how to give transparency to JComboBox,JList and JTable
Answer
# 1
by setOpaque(false)
 
Is This Answer Correct ?    9 Yes 5 No
Leosun
 
  Re: how to give transparency to JComboBox,JList and JTable
Answer
# 2
use setOpaque(false)
 
Is This Answer Correct ?    5 Yes 2 No
Kukku
 
 
 
  Re: how to give transparency to JComboBox,JList and JTable
Answer
# 3
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 ?    1 Yes 0 No
Priya Gupta
 

 
 
 
Other Swing Interview Questions
 
  Question Asked @ Answers
 
What is the difference between AWT & Swing? Deshaw8
What is the use of JTree?  2
what is the diff's between swing and applet? Patni9
What are the features of JFC?  1
When i m clicking on next another frame is open but i want to hide the previous frame...........but it is not happening....still both frame are visible........how to make one frame to hide.......please help me.......  1
can we create a object in static block class A { static { A a=new A(); } }  5
What is the corresponding Layout for Card in Swing? Patni2
What is meant by Swing?  4
What are all the components used in Swing?  1
how to give transparency for JComboBox,JListBox and JTable TCS1
What is the default look and feel of a Swing Component?  2
Name the borders provided by Swing? Accenture1
when i run Frame program, it display output in supparate window.i try to close using "X" it not close.min'-' & max'+' are working.pls what is problem? i run in editplus. folowing program i given. import java.awt.*; class Form1 { Frame f1=new Frame("loginpage"); Label l1=new Label("username"); Label l2=new Label("password"); TextField tf1=new TextField(); TextField tf2=new TextField(); Button b1=new Button("submit"); Form1() { f1.setLayout(new FlowLayout()); f1.add(l1); f1.add(tf1); f1.add(l2); f1.add(tf2); f1.add(b1); f1.setSize(437,440); f1.setVisible(true); //f1.dispose(); } public static void main(String[] args) { Form1 f=new Form1(); } }  4
What are tab pans?  3
What is the base class for all of swing components?  3
Does Swing contains any heavy weight component?  4
what is difference between checked and unchecked exception plz explain examples ? Fujitsu2
how can u handle runtime exceptions in java plz explain with examples briefly? Fujitsu2
when we right click on the JTable using mouse it works properly but how to right click on JTable in java using keyboard what should be the code for the same.....? Thanks Nitin  1
what are the root classes of all classes?  4
 
For more Swing Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com