codenameone - codename one - Initial value to set Picker with Month Or Year -


i have picker (codename one) shoe months, question how initial value current month.

and have picker time want show initila value current time. thank you

i'm assuming mean string picker this:

picker p = new picker(); p.setstrings("jan", "feb", "mar", "apr", "may", "jun", "jul", "aug", "sep", "oct", "nov", "dec"); p.setselectedstring("jan"); 

for time use:

// 10:30am timepicker.settime(630); 

Comments