Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 select cell with right click
Index -> Programming, Java -> Java Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
mirus17




PostPosted: Fri May 25, 2007 1:22 am   Post subject: select cell with right click

I have a table and i found a sample code from java website that adds a popup menu when you right click on a specific item (in my case, i made it a three column table). The final idea is for a user to right click on any row of the table, and choose the remove row option, well, my problem is that when a user right clicks, the table row is not selected under the mouse pointer, which throws the rest of the code off. The solution to this problem is for the user first to left click on the desired table row, and then right click , but i am looking for a way of combining the two operations together under one right click (like you right click in excell spreadsheet). Thanks for you help in advance.
Sponsor
Sponsor
Sponsor
sponsor
Display posts from previous:   
   Index -> Programming, Java -> Java Help
View previous topic Tell A FriendPrintable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 1 Posts ]
Jump to:   


Style:  
Search: