Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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



when we right click on the JTable using mouse it works properly but how to right click on JTable i..

Answer / santro

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 5 No

Post New Answer

More Swing Interview Questions

What is the difference between a scrollbar and a jscrollpane ?

0 Answers  


What is sling swing?

0 Answers  


Is swing an adjective?

0 Answers  


Why swing is better than awt?

0 Answers  


please any one explain this project: Minimizing recovery state in geographic ad hoc routing

1 Answers   IBM,


What is awt and swing in java?

0 Answers  


What is the function of internal frame in swing?

0 Answers  


What are the advantages of the event-delegation model over the event-inheritance model?

0 Answers  


What is import javax swing?

0 Answers  


Why swings are used in java?

0 Answers  


What is swing api?

0 Answers  


Which method is used by the applet to recognize the height and width?

0 Answers  


Categories