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 jfc? What are the features of jfc?

0 Answers  


What is java swing components?

0 Answers  


What is swing gui in java?

0 Answers  


How to merging the particular cells in JTable

1 Answers  


What is swing in java javatpoint?

0 Answers  


Why swings are used in java?

0 Answers  


How to add and delete nodes in Jtree?

1 Answers   MindMill,


What is an event in Swing?

0 Answers  


What are the benefits of using Swing over AWT?

5 Answers  


How to align components in java swing?

0 Answers  


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.......

9 Answers  


What does x mean in javax.swing?

7 Answers  


Categories