Multipage JTable: impossible to display less items than rows

前端 未结 3 1926
鱼传尺愫
鱼传尺愫 2021-01-27 12:18

I realized a JTable with a custom AbstractTableModel for implementing paging. I wanna show 5 item per page, but I\'ve a problem: if I have N item to show (with N wh

3条回答
  •  梦毁少年i
    2021-01-27 12:54

    I think that not easy job, I suggessting to look at aephyr's code, maybe more easies way is implementing this code, but for real effect you have to lock JScrollBars, swith to NEVER

提交回复
热议问题