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 Posted / 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 View All Answers
What are swings?
How to create image slideshow in java swing?
What are the containers available in swing?
What is jpanel swing?
What is difference between jframe and swing?
What is pane in swing?
What is swing and its features in java?
What is swing used for?
Which layout does swing use by default?
what are the steps required in creating an empty table drop?
Why should the implementation of any swing callback (like a listener) execute quickly?
In what context should the value of swing components be updated directly?
Is swing an adjective?
Why are swing components called lightweight components?
What are the differences between Swing and AWT?