Jformattedtexfield problem?

hello

i want to take date from the jtextfield date is an any format then converting it to is acceptable form.

for example

jtextfield= 10102000

jformattedtexfield=10.10.200

is it poissible by jformattedtext field?

can you help me about it?

Message was edited by:

Mikail

[324 byte] By [Mikaila] at [2007-11-27 10:56:13]
# 1

What is your problem (besides that "any" format obviously can't work)? JFormattedTextField depends on you to *have* a format defined.

CeciNEstPasUnProgrammeura at 2007-7-29 12:01:39 > top of Java-index,Java Essentials,Java Programming...
# 2

Nope, and don't bother... there's a trillion possible ways users will attempt to enter a date... and software engineers have done it to death, and then we buried it under visual date picker... Google that... there's a couple of free ones (in Swing), which even kind of work.

Keith.

Message was edited by: corlettk

corlettka at 2007-7-29 12:01:39 > top of Java-index,Java Essentials,Java Programming...
# 3

thanks for your replies..

i need to convert automatically when user enter the 18072007 to 18.07.2007. i dont care about the other entered posibility.

i shoul take this 18072007 from text field and replace it as 18.07.2007

it is possibble?

i found very much code, but they didnt solve my problem.

Mikaila at 2007-7-29 12:01:39 > top of Java-index,Java Essentials,Java Programming...