Hello everyone
Im working on a clock type of app. And im totally new to java

.
On the main screen i want to have the current time and i cant seem to get it to show up, could some one help me out?
public static void main (String[] args)
{
Clock app = new Clock();
app.enterEventDispatcher();
}
public Clock()
{
pushScreen(new ClockScreen());
}
}
final class ClockScreen extends MainScreen
{
public ClockScreen()
{
//super();
LabelField t = new LabelField("Current Time is",
LabelField.ELLIPSIS | LabelField.USE_ALL_WIDTH);
setTitle(t);
}
public static String StringToDate(String dateToParse)
{
Date formatter = new Date(HttpDateParser.parse(dateToParse));
SimpleDateFormat dateFormat = new SimpleDateFormat(
"yyyy-MM-dd HH:mm:ss.SSS");
int offset = TimeZone.getDefault().getRawOffset();
formatter.setTime(formatter.getTime() + offset);
String customd = dateFormat.format(formatter);
return customd;
}
when i am returning customd, im expecting to see something.
what would i need to add to this code anyone?
thanx in advance