public void open(String channel){
  if (channel == null || channel.isEmpty()) {
    JOptionPane.showMessageDialog(main,"No channel specified. Can't" + " open admin dialog.");
    if (!Chatty.DEBUG) {
      return;
    }
  }
  setPutResult("");
  setChannel(channel);
  setVisible(true);
}

public void open ( String channel ) { if ( channel == null || channel . isEmpty ( ) ) { JOptionPane . showMessageDialog ( main , "No channel specified. Can't" + " open admin dialog." ) ; if ( ! Chatty . DEBUG ) { return ; } } setPutResult ( "" ) ; setChannel ( channel ) ; setVisible ( true ) ; }
opens the dialog with the given currentchannel , positioning it correctly .
