Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 3 of 3

Thread: JTable selection issue

  1. #1
    Member
    Join Date
    Mar 2012
    Posts
    36
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Default JTable selection issue

    problem solved
    Last edited by kpat; April 3rd, 2012 at 11:55 AM.


  2. #2
    Administrator copeg's Avatar
    Join Date
    Oct 2009
    Location
    US
    Posts
    5,372
    Thanks
    183
    Thanked 836 Times in 779 Posts
    Blog Entries
    5

    Default Re: JTable selection issue

    Post code as an SSCCE, without which we have no context. Without any context, the operations could be: add a ListSelectionListener to the table. Within the Listener you can get the selected rows, get the data from the data model for the selected rows, and perform operation on said data.

  3. #3
    Member
    Join Date
    Mar 2012
    Posts
    36
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Default Re: JTable selection issue

    problem solved
    Last edited by kpat; April 2nd, 2012 at 09:26 AM.

Similar Threads

  1. Rendering VS Selection in JTrees
    By Cyclops in forum AWT / Java Swing
    Replies: 1
    Last Post: September 28th, 2011, 10:42 AM
  2. Java printer selection
    By pnvsgupta in forum Java SE APIs
    Replies: 4
    Last Post: July 23rd, 2011, 12:31 PM
  3. Drawing a selection box using swing
    By edi233 in forum AWT / Java Swing
    Replies: 4
    Last Post: May 9th, 2011, 10:50 AM
  4. [SOLVED] selection end and start
    By nasi in forum What's Wrong With My Code?
    Replies: 13
    Last Post: May 10th, 2010, 05:05 AM
  5. Selection Sorting
    By chronoz13 in forum Algorithms & Recursion
    Replies: 5
    Last Post: December 10th, 2009, 11:08 AM