DateField for LWUIT
Yes, there is a DateField component for LWUIT and it is ready for use! It is localized too! It was created by Marlon Luz from IndT, Manaus, Brazil, and the Tranqueira Project is using it.
With this DateField it is very easy to configure date formats and check for a valid day, month and year and fix these values, if there is something wrong with them. Because I guess it is not interesting to show the input mode (“123”) for this component, I decided to unable this resource on Tranqueira Project.
DateField is using a great characteristics of LWUIT: its similarity with Swing. It is using a descendant class of DefaulLookAndFeel (DateFieldLookandFeel) to draw some graphics difference between DateField and TextField (its ancestor).
It can be enhanced and become even better. Try Tranqueira Project but try the DateField used in this project too.
- Login or register to post comments
- Printer-friendly version
- eloijr's blog
- 1887 reads





Comments
Tranqueira? haha English
by heliorodrigues - 2009-10-27 08:57
Tranqueira? haha English speakers will laugh when they translate this word. Nice app.Hi Helio, It is just one of
by eloijr - 2009-10-27 10:50
Hi Helio, It is just one of the reasons that gringos like the Brazilians! We do everything with creativity and fun! Thanks, Eloi JrWhere can I get the component?
by ieising - 2009-10-27 04:44
Hi, Great news, but could you provide some links where I can actually find the component, the mentioned project and related information? IwanSorry...
by eloijr - 2009-10-27 05:21
Sorry, The link of the Tranqueira project is https://tranqueira.dev.java.net. Take a look on it and check out the DateField class! The Devolvido class is one of the class of the project that is using the DateField! Thanks for your interest! Anything else, I'm here! Eloi JrHi, I have tried to implement
by kirui - 2011-03-30 08:26
Hi,
I have tried to implement your date picker but I am having some issues. It shows the date picker well but when you type the date/month you want it doesnt pick the correct data you typed. I have included two classes in my project; DateField and DateFieldLookAndFeel, do I need any other? Please guide me on how to achieve this as Lwuit's native calendar is not suited at all for what am trying to achieve.
Thanks in advance.