• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 462
  • Last Modified:

JTable cell format

Hi,
How can i force a user to enter data in JTable cell in a specific format
e.g: for a date: 04/10/05 or for phone number: 315 265-4200
0
komlaaa
Asked:
komlaaa
2 Solutions
 
objectsCommented:
Use a JFormattedTextField as your table cell editor.
0
 
oenningjCommented:
Search on google news search
http://www.google.ca/groups?hl=en&lr=&group=comp.lang.java

you will find many examples there.
0
 
komlaaaAuthor Commented:
>Search on google news search you will find many examples there.
I know i can search google.com(That is easy), but i am asking you experts because
it is not all the examples up there on web that good learning tools.
If you have already used an example that you find as google example for
someone one who is still in "tutorial" stage, you gave me instead of referring me to
the google.com

Thanks
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: Microsoft Azure 2017

Azure has a changed a lot since it was originally introduce by adding new services and features. Do you know everything you need to about Azure? This course will teach you about the Azure App Service, monitoring and application insights, DevOps, and Team Services.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now