java me - Run particular command on particular button's action listener -
i have form has 4 commands says action1, action2, action3, action4. theses commands runs fine.
now have button says runcommand have call action1 command. how can it. run command on action of particular button's action listener .
while invoking actionperformed work, there better , more correct way:
display.getinstance().getcurrent().dispatchcommand(cancel, new actionevent(form, back_command_id));
Comments
Post a Comment