Results 1 to 3 of 3
  1. #1
    nadia is offline Member
    Join Date
    Dec 2008
    Posts
    13
    Rep Power
    0

    Default JTable problem with getting ROW selected

    HI....
    I am making Mail manager... (Server client.....)
    i load mails to JTABLe... I WANt the rowselected to map it to mainNumBER IN db... but getRowSelected() works fine for viewing once .. wen i come back to INBOX and click on other rows it gives rowSelected -1..


    PLZ i need quick help if any1 can provide...
    PLEASE!!!!!!

  2. #2
    DarrylBurke's Avatar
    DarrylBurke is online now Member
    Join Date
    Sep 2008
    Location
    Madgaon, Goa, India
    Posts
    11,236
    Rep Power
    19

    Default

    To get better help sooner, post a SSCCE that clearly demonstrates your problem. Link:
    SSCCE : Java Glossary

    db

  3. #3
    Steve11235's Avatar
    Steve11235 is offline Senior Member
    Join Date
    Dec 2008
    Posts
    1,046
    Rep Power
    7

    Default

    Does the JTable give you a visual indication that row selection is taking place, i.e., do the rows change color? If not, you may have setEnabled(false) your JTable, so it is no longer responding, or something else that is keeping the JTable from receiving mouse clicks.

Similar Threads

  1. JTable Gridline in selected row
    By arubin in forum AWT / Swing
    Replies: 11
    Last Post: 11-24-2009, 07:05 PM
  2. JTABLE problem
    By MaximInf in forum AWT / Swing
    Replies: 4
    Last Post: 06-21-2008, 10:45 AM
  3. JTable problem
    By robbertds1 in forum AWT / Swing
    Replies: 1
    Last Post: 05-20-2008, 06:34 PM
  4. Replies: 2
    Last Post: 05-15-2008, 10:15 AM
  5. Problem with JTable
    By Felissa in forum AWT / Swing
    Replies: 2
    Last Post: 07-04-2007, 09:25 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •