开发者

Locking a whole row while editing in a JTable

开发者 https://www.devze.com 2023-03-02 22:23 出处:网络
I have a JTable with 4 columns that are required.When a users finishes one cell, they can click out of the row.I want to force the user to fill in all values before they can continue.Is this possible?

I have a JTable with 4 columns that are required. When a users finishes one cell, they can click out of the row. I want to force the user to fill in all values before they can continue. Is this possible?

Than开发者_StackOverflow社区ks


Create a popup dialog to add a new row of data to the table. Then the dialog "Save" button can check to make sure all four fields are filled in.

0

精彩评论

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