Forums Register Login

Last row of JTable is without text

+Pie Number of slices to send: Send
I have descovered a very interesting problem. I have a JTable with a self made Table model inherited from the abstract TM. The information is retrieved from an SQLite3 Database. The last row of this table is show, but data is not. Does anyone have any ideas how I can fix this?

Thanks Greg.
+Pie Number of slices to send: Send
did you check your For or While loop for data storage??.....it sounds like you are not populating the last records from the d/b.
+Pie Number of slices to send: Send
Sorry, the issue was only a tiny hard to find error. Oops. Is it possible to delete this thread?
+Pie Number of slices to send: Send
When I was creating the table model, I was getting nullpointerexceptions left and right. One of my ideas was that it was doing something stupid with the rows, so in a for loop, I stupidly put list.size() - 1. This obviously did nothing to help the nullpointerexceptions and i honestly thought i deleted it. But I didnt. Therefore, since the issue was only "- 1", and i was looking for something bigger, I could not find the error at all. But, issue solved.
There's a city wid manhunt for this tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com


reply
reply
This thread has been viewed 976 times.
Similar Threads
JTable
JTable
Jtable
JTable(!!!)
JTable
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 19, 2024 03:48:16.