public int showDialog(String channelPreset,String action,String actionOneChannel){
  doneButton.setText(action);
  doneButtonText=action;
  doneButtonTextOneChannel=actionOneChannel;
  setChannel(channelPreset);
  result=-1;
  updateEditButtons();
  setVisible(true);
  return result;
}

public int showDialog ( String channelPreset , String action , String actionOneChannel ) { doneButton . setText ( action ) ; doneButtonText = action ; doneButtonTextOneChannel = actionOneChannel ; setChannel ( channelPreset ) ; result = - 1 ; updateEditButtons ( ) ; setVisible ( true ) ; return result ; }
shows the dialog with the given channel as preset and the given action as button description .
