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 |
What class is at the top of the AWT event hierarchy?
What is jfc swing in java?
How to align components in java swing?
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
what is the diff's between swing and applet?
What are the components of swing?
What is the use of JTree?
What is the relationship between clipping and repainting?
Is javafx better than swing?
Which layout does swing use by default?
Is swing an adjective?
What is the use of jcomponent class in swing?