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 / 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 |
How is multi-threading gets implemented using swing?
What is java swing used for?
How to reload a jframe in java swing?
What are all the components used in Swing?
Write a program to paint the off-screen buffer in swings
How to print in java swing application?
Which method is used for setting security in applets?
What is the what is the difference between invokeandwait() and invokelater()? ?
What are the features of swing in java?
Why swing components are called lightweight components?
What is the process of setting the layout manager?
What is the difference between swing and awt in java?