Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 456
  • 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

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

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