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 an event handler in swing?

0 Answers  


What are swings awt?

0 Answers  


What is java swing gui?

0 Answers  


What is difference between jframe and swing?

0 Answers  


What are the benefits of using Swing over AWT?

5 Answers  


What is the use of jfc in java swing?

0 Answers  


What is the use of swing in java?

0 Answers  


What are the different types of layout managers used in swing?

0 Answers  


What are the two key features of swing?

0 Answers  


What is swing and awt in java?

0 Answers  


How is multi-threading gets implemented using swing?

0 Answers  


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

0 Answers  


Categories