1

I have used the tree component of lwuit and it is working fine. Now i need to force open the tree folder/parent node on any keyevent. I could not find a way to force open the folder?

Any heads up will be appreciated.

Thanks.

Ganesh
  • 179
  • 10

1 Answers1

1

Find the button representing the node you want and just invoke the pressed() method on it.

There used to be an issue requesting a more elegant approach to this in the LWUIT issue tracker but if we will do something on that it will only be fore Codename One.

Shai Almog
  • 51,749
  • 5
  • 35
  • 65