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?
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.
Post by:autobot
There's a city wid manhunt for this tiny ad:
a bit of art, as a gift, that will fit in a stocking