Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我的应用程序中有一个从 TableModelAdapter 扩展的 tableadapter 实现,出于某种原因,我想让 tablemodel 为空(删除模型内的所有数据)并用新值重新填充它是否可行
根据需要更新您的基础数据,然后调用TableModel.modelReset()以通知TableView发生了重大变化。
TableModel.modelReset()
TableView