What is the easiest way to set a timer picker to use current time? 

this 

  Date now = new Date();
        timePicker.setDate(now);

causes:

 java.lang.ClassCastException - java.util.Date cannot be cast to 
java.lang.Integer

-- 
You received this message because you are subscribed to the Google Groups 
"CodenameOne Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to codenameone-discussions+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/codenameone-discussions.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/94532e42-c23c-4b7f-a67d-756ffeb0af57%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to