JTable Not Updating Data

前端 未结 2 399
迷失自我
迷失自我 2021-01-22 12:59

For some reason, nothing changes about this JTable when this is called (this method updates the JTable after a user submits an SQL query).

Givens: The dataVector and col

2条回答
  •  难免孤独
    2021-01-22 13:51

    You need to tell JTable that the data in model was updated with firing appropriate event.

    See this tutorial

提交回复
热议问题