Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 01-12-2009, 10:09 PM
Member
 
Join Date: Dec 2008
Posts: 9
Rep Power: 0
nadia is on a distinguished road
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!!!!!!
Bookmark Post in Technorati
Reply With Quote
  #2 (permalink)  
Old 01-13-2009, 07:31 AM
Senior Member
 
Join Date: Sep 2008
Posts: 607
Rep Power: 1
Darryl.Burke is on a distinguished road
Default
To get better help sooner, post a SSCCE that clearly demonstrates your problem. Link:
SSCCE : Java Glossary

db
Bookmark Post in Technorati
Reply With Quote
  #3 (permalink)  
Old 01-13-2009, 05:57 PM
Steve11235's Avatar
Senior Member
 
Join Date: Dec 2008
Posts: 798
Rep Power: 1
Steve11235 is on a distinguished road
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.
Bookmark Post in Technorati
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
JTABLE problem MaximInf AWT / Swing 4 06-21-2008 10:45 AM
JTable problem robbertds1 AWT / Swing 1 05-20-2008 06:34 PM
Jtable duplicates through Hashtable (JTable condition problem) my assignment plz help salmanpirzada1 Advanced Java 2 05-15-2008 10:15 AM
JTable Gridline in selected row arubin AWT / Swing 10 11-06-2007 12:04 PM
Problem with JTable Felissa AWT / Swing 2 07-04-2007 09:25 AM


All times are GMT +2. The time now is 10:12 PM.



VBulletin, Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2009, Crawlability, Inc.
Copyright ©2006 - 2007, www.java-forums.org