开发者

JTable cell validation via Regular expression

开发者 https://www.devze.com 2023-02-12 05:33 出处:网络
Is there a way to validate each开发者_Python百科 cell of my JTable with Regular expressions?Yes. get TreeModel from the table, get row and column count from the model, organize 2 loops and use getVal

Is there a way to validate each开发者_Python百科 cell of my JTable with Regular expressions?


Yes. get TreeModel from the table, get row and column count from the model, organize 2 loops and use getValueAt() method to get value for a particular cell.

0

精彩评论

暂无评论...
验证码 换一张
取 消