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

How is multi-threading gets implemented using swing?

0 Answers  


What is java swing used for?

0 Answers  


How to reload a jframe in java swing?

0 Answers  


What are all the components used in Swing?

1 Answers  


Write a program to paint the off-screen buffer in swings

0 Answers  


How to print in java swing application?

0 Answers  


Which method is used for setting security in applets?

0 Answers  


What is the what is the difference between invokeandwait() and invokelater()? ?

0 Answers  


What are the features of swing in java?

0 Answers  


Why swing components are called lightweight components?

0 Answers  


What is the process of setting the layout manager?

0 Answers  


What is the difference between swing and awt in java?

0 Answers  


Categories