Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

JTable and InputVerifier

Status
Not open for further replies.

sgk17

Technical User
Nov 8, 2002
68
US
I want to do data entry into a JTable and I want to use an InputVerifier on the columns to verify the data. I'm aware of other methods of getting the same results, but I want to use an InputVerifier. I haven't been able to find many examples of how to do this. Can somebody help me out? Thanks.
 
Yeah, I've looked at that website and have done some stuff like that. But this time around I want to specifically use the InputVerifier class. I want to learn how to attach an InputVerifier to a JTable column. As I understand each cell is a JComponent so I should be able to use JComponent.setInputVerifier(MyInputVerifier) to do it. The only problem is I'm not sure where that would be done and what the proper syntax is. Thanks.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top