Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within Swing / AWT / SWT
Search Coderanch
Advance search
Google search
Register / Login
Post Reply
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Campbell Ritchie
Jeanne Boyarsky
Ron McLeod
Paul Clapham
Liutauras Vilda
Sheriffs:
paul wheaton
Rob Spoor
Devaka Cooray
Saloon Keepers:
Stephan van Hulst
Tim Holloway
Carey Brown
Frits Walraven
Tim Moores
Bartenders:
Mikalai Zaikin
Forum:
Swing / AWT / SWT
row is selected just clicking on row of a table
arun singhal
Ranch Hand
Posts: 41
posted 14 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Clearly..
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...
Rob Camick
Rancher
Posts: 3324
32
posted 14 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Use a MouseListener. Then use methods from the JTable to convert the mouse point to a row in the table.
You know it is dark times when the trees riot. I think this tiny ad is their leader:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
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
More...