hello,
i'm just
testing my GUI with a well filled data file. all of a sudden i realized that my jTable behaves strangely:
scrolling it via mouse / scrollbar or moving the selection to the upper or buttom end of the table viewport results in only partial updates of the viewable table data (no more full updates).
imagine the window having a size to display 10 table columns at once, but the table itself containing 100 rows. if i move the selection up- or downwards, the displayed 10 rows will move, according to the selection. but only 1 or 2 rows are still updated, the rest remains unchanged, with little pixel mistakes in it (no more table grids between rows, for example)
even more strange: this happens only on one of my two screens (the bigger, non-primary one)
this last observation leeds me to the assumption that i'm dealing more with a general "swing on two screens"-problem then with a code problem.
or does my code have certain weaknesses? where can i search for those..?
oh, one last thing - i built up my table very close to the Habibi example ;-) nothing special or fancy, just a table displaying its model...
many thanks for comments,
jan