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 is swing gui in java?
What is an event in Swing?
am searching for the job based on java, swing, currently working small company. they are not giving any salary slip, offer letter. so if i try outside for MNC's they start with previous company details. what should i do..? please help me to get job and make my career.
Why swing is better than awt?
Which package is needed for swing components?
What is the role of java swing?
What is java awt and swing?
Write a program to include the internal frame in swing.
What is java swing package?
Why swings are called lightweight components?
What are the components of swing in java?
How to create image slideshow in java swing?
How is multi-threading gets implemented using swing?
What is awt and swing?
What is swing and awt in java?