Java ME helps display calendar canvas from Nokia tutorial

Below I will talk about how to create a calendar widget in Java ME. I can't seem to get it to work.

When I run the application, it just says that it is running in the background. I guess I'm not initializing it properly. Where exactly do I put the code located at the bottom of the page to display it on the screen of a Java phone?

The link to the tutorial here, except for a few minor differences in variable names, is identical.

http://www.developer.nokia.com/Community/Wiki/Building_a_Java_ME_Canvas_based_calendar/date_picker

-2
source share
1 answer

... he just says that he is running in the background. I guess I'm not initializing it correctly.

, , , , , , , , , Display.setCurrent. .

, MIDlet, , startApp setCurrent, :

public void startApp() {
    Display.getDisplay(this).setCurrent(
            new CalendarCanvas(this));
}

, CalendarCanvas , :

- CalendarCanvas.java: CalendarWidget ...

+2

All Articles