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 is the difference between a scrollbar and a jscrollpane ?
What is sling swing?
Is swing an adjective?
Why swing is better than awt?
please any one explain this project: Minimizing recovery state in geographic ad hoc routing
What is awt and swing in java?
What is the function of internal frame in swing?
What are the advantages of the event-delegation model over the event-inheritance model?
What is import javax swing?
Why swings are used in java?
What is swing api?
Which method is used by the applet to recognize the height and width?