将视图设置为特定的单元格
您知道如何将视图设置为jtable
中的特定单元格吗? 因为我正在努力搜索单元格中的特定内容(例如Ctrl + F),
所以我有一个特定的单元格第39和第5列,但我不知道如何查看它,
我在jtable < /code>和
defaultTableModel
,但我看不到任何有用的方法。
Do you know how to set the view to a specific cell in a JTable
?
Because I'm working on searching for specific content in cells (Such Ctrl + F)
I have a specific cell such as row 39 and column 5, but I don't know how to view it
I have looked in JTable
and DefaultTableModel
but I don't see any useful methods.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
如果要选择(突出显示)特定的jtable 单元格,那么这可能是一种方法:
如何使用此方法:
因此,如果您想选择一个整个JTable ,这可能是您可以做到的一种方法:
如何使用此方法:
If you want to Select (highlight) a specific JTable Cell then this could be one way you can do it:
How you might use this method:
Consequently, if you want to select an entire JTable Row, then this could be one way you can do it:
How you might use this method: