从 JTable 隐藏行 [英] hiding rows from JTable
本文介绍了从 JTable 隐藏行的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我想从包含特定字符串的 JTable 中隐藏那些行....请帮我解决这个问题...
I want to hide those rows from JTable containg a particular string....please help me for this..
推荐答案
您可以使用 javax.swing.RowFilter.详细的使用说明在链接的 API 文档中.
You can use javax.swing.RowFilter for that. Detailed usage instructions are in the linked API docs.
这篇关于从 JTable 隐藏行的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文