Hi Pals,
I am using a j2me application and i am in need of a datetime picker is it possible. if possible plz help me. thanks in advance
regards,
Bapitha .N.C
Hi Pals,
I am using a j2me application and i am in need of a datetime picker is it possible. if possible plz help me. thanks in advance
regards,
Bapitha .N.C
Hello Bapitha .N.C,
couple of examples: to get started:
For a more detailed example:import javax.microedition.midlet.*;
import javax.microedition.lcdui.*;
import java.util.*;
public class DateTest extends MIDlet
{
Display d;
Form f;
Date today;
DateField df;
public void startApp ()
{
d = Display.getDisplay(this);;
f = new Form("Date now");
today = new Date();
df = new DateField("Date:", DateField.DATE);
df.setDate(today);
f.append(df);
d.setCurrent(f);
}
public void pauseApp () {}
public void destroyApp (boolean destroy){}
}
http://www.java2s.com/Code/Java/J2ME/DateField.htm
Regards,
r2j7
Hi Pal,
Thankx a lot for the reply. it worked.
regards,
Bapitha .N.C