Search code examples
java-mecommandnokialwuit

Lwuit on nokia. Setting a command to the game fire key


This may seem trivial, but i'm working on a project to be deployed exclusively on nokia phones, and all i want is to create a command and set it to the "GAME_FIRE" center key. For some reason, when adding lwuit commands, LWUIT skips the game fire key, and instead creates a defaut menu command that then shows the added commands. Please help.


Solution

  • Use

    Display.getInstance().setThirdSoftButton(true);
    

    This will set the label on the fire key as well.