On Mon, Apr 21, 2008 at 6:07 AM, Gerolf Seitz <[EMAIL PROTECTED]> wrote:
> public class MyDatePicker extends DatePicker
> {
> ...
>    private static final SimpleDateFormat format = new
> SimpleDateFormat("MM/dd/yyyy");

Maybe this was just quick example code but DateFormat's aren't thread
safe.  From the javadoc:

"Date formats are not synchronized. It is recommended to create
separate format instances for each thread. If multiple threads access
a format concurrently, it must be synchronized externally."

Just a heads-up,

Enrique

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to