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                      
info       Did you received any Funny E-Mails from your Friends and like to share with rest of our friends? Yeah!! you can post that stuff   HERE
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
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
 Question Submitted By :: Nitin
I also faced this Question!!     Rank Answer Posted By  
 
  Re: 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
Answer
# 1
public void mouseClicked(MouseEvent e)
	{
		if(e.getButton()==e.BUTTON3)
    JOptionPane.showMessageDialog(null, "Mouse right
click");     

}

With the help of above u can easily get when you right click
on jtable
 
Is This Answer Correct ?    2 Yes 4 No
Santro
 

 
 
 
Other Swing Interview Questions
 
  Question Asked @ Answers
 
What is meant by Swing?  4
can we create a object in static block class A { static { A a=new A(); } }  5
What are tab pans?  3
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
Name the borders provided by Swing? Accenture1
Explain the differences between an applet and a Japplet? Satyam1
how to give transparency for JComboBox,JListBox and JTable TCS1
what do u mean by GUI framework  1
What are all the components used in Swing?  1
Difference between AWT and Swing compenents?  2
How to merging the particular cells in JTable  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.......  2
I want to change the appearance of Frame in Runtime, what class can be used to do this? Wipro1
What is the difference between AWT & Swing? Deshaw8
How can you draw using Swing components?  1
what is the diff's between swing and applet? Patni9
What does x mean in javax.swing?  4
how can u handle runtime exceptions in java plz explain with examples briefly? Fujitsu2
Does Swing contains any heavy weight component?  4
What is the difference between AWT and Swing ? TCS1
 
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