mariomac / microemu

Automatically exported from code.google.com/p/microemu
0 stars 0 forks source link

Display.setCurrentItem doesn't change current Displayable #81

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Hi,

I am testing the microemulator version 3.0.0-SNAPSHOT.72 with a MIDlet that 
comes with the default installation of the Sun Wireless Toolkit, the UIDemo 
MIDlet suite, and I have found than when it executes 
"display.setCurrentItem(parent);" in a Nokia phone, the execution changes the 
current displayable to the given one but it doesn't happens in the microemu.

Checking the specs of this method, it must occur like in the Nokia phone:

Requests that the Displayable that contains this Item be made current, scrolls 
the Displayable so that this Item is visible, and possibly assigns the focus to 
this Item. The containing Displayable is first made current as if 
setCurrent(Displayable) had been called. 

Best regards,

Jose

Original issue reported on code.google.com by jose...@gmail.com on 2 Nov 2010 at 10:41

Attachments: