Converting Date to String to JFormattedTextField

Hi all.

Two questions:

1) I am trying to load String from ini file to a JFormattedTextField with date.

It is formatted as dd.MM.yy

How do I convert from String to JFormattedTextField.

2) I have a constructor that get a Date object.

I want to show the Date object in a JFormattedTextField that is formatted as follows (like in question 1) dd.MM.yy

Thanks in advance

Ilan Yaniv

[430 byte] By [Ilan_Yaniva] at [2007-11-27 10:03:54]
# 1
Have a look at SimpleDateFormat.parse().
PhHeina at 2007-7-13 0:38:52 > top of Java-index,Java Essentials,Java Programming...