Display.getCurrent() returns null
Problem:
I'm displaying a List-type screen and switch display to a Canvas by using the command:
Display.getDisplay(midlet).setCurrent(mTestCanvas);
(mTestCanvas is an instance of a simple Canvas class)
OK so fare, and the screen is updated with the Canvas screen.
However, the command
Display.getDisplay(midlet).getCurrent() returns null !!!
I've tried several other Canvas classes with the same result. With other display-types, it's OK.
Anyone who knows whether there is a bug in the WTK for getCurrent() and Canvas, or am i doing something wrong here ?
I'm using
WTK: v2.5.1
Emulator: Nokia S60 3rd Edition FP1
IDE:Eclipse Europa (RC4)

