(older archive entries before 2007 are not shown here, but included in the onsite-search)
Mailing List - Entries of 2012
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[QF-Test] Resolving JTable with the same values in cells.
I have a different problem now, I'm trying to resolve the table inside the JInternalFrame and at the moment I cannot see a way of getting the item's index except by row and column. The problem here is that if the row before the requested row has the same value then that row is returned for index, therefore if for example I have 10 rows and after second row all cells in that column have the same value, then for any row I try to select/check after the second row always return the first row with that value. The only way I can see how I can get the actual row I need is by using the JTable's rowAtPoint function and getting the point through MouseMovementListener, trying to implement this way I hit the rock at not knowing where I can add the listener to my JTable as during records/checks it returns NullPointerException but after I stop recording it starts returning actual values. If there's an easier way of implementing that can you please tell me how, if not can you please explain how I can add the MouseMovementListener so It works during recording. Thanks, Oleg.