A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Swing / AWT / SWT
row is selected just clicking on row of a table
Joined: Oct 25, 2009
Nov 13, 2009 08:58:00
I have created a table have row and column...
I want that when i only click on any row of table then it print that row is selected..
As an example table have 10 rows.. and when I click on 2 row then it print that 2 row is selected...
Joined: Jun 13, 2009
Nov 13, 2009 09:56:16
Use a MouseListener. Then use methods from the JTable to convert the mouse point to a row in the table.
I agree. Here's the link:
subject: row is selected just clicking on row of a table
How to select the row on right click.
Jtable cut and paste
Table distortion on form submission
get the selected row value from the icon which is within
Table row selection problem
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014