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

Popular posts from this blog

get url and add instance to a model with prefilled foreign key :django admin -

css - Make div keyboard-scrollable in jQuery Mobile? -

ruby on rails - Seeing duplicate requests handled with Unicorn -