Skip to main content

Calendar

1 reply [Last post]
raheman
Offline
Joined: 2008-07-20

Hi,
i have problem with Calendar Class,
i want to show a Form for date selecting so i simply use this as testing:

Calendar dobCal= new Calendar();
Command[] cmds = new Command[2];
cmds[0] = ok;
cmds[1] = cancel;
Dialog.show("Select Date", dobCal, cmds);

,i run this code,but when i change the Date to other month ,it doesn't display month like jul 2008 and it shows ... years.
Is something wrong and i can do to fix that?

Thanks armin

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Shai Almog

Hi,
this is a regression in the calendar Component. A similar issue was
mentioned in another thread.
We will try to fix it for the next drop.

Thanks.

> Hi,
> i have problem with Calendar Class,
> i want to show a Form for date selecting so i simply use this as
> testing:
>
> Calendar dobCal= new Calendar();
> Command[] cmds = new Command[2];
> cmds[0] = ok;
> cmds[1] = cancel;
> Dialog.show("Select Date", dobCal, cmds);
>
> ,i run this code,but when i change the Date to other month ,it
> doesn't display month like jul 2008 and it shows ... years.
> Is something wrong and i can do to fix that?
>
> Thanks armin
> [Message sent by forum member 'raheman' (raheman)]
>
> http://forums.java.net/jive/thread.jspa?messageID=290530
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@lwuit.dev.java.net
> For additional commands, e-mail: users-help@lwuit.dev.java.net
>

Shai Almog
http://lwuit.blogspot.com/

[att1.html]