public void addCommand(Command cmd,int offset){
  menuBar.addCommand(cmd,offset);
}

public void addCommand ( Command cmd , int offset ) { menuBar . addCommand ( cmd , offset ) ; }
adds a command to the menu bar softkeys or into the menu dialog , this version of add allows us to place a command in an arbitrary location . this allows us to force a command into the softkeys when order of command addition can ' t be changed .
