if (channelList.length == 1) {
ChannelConfigDlg dialog;
Window parent = UiUtilities.getBestDialogParent(mAllChannels);
dialog = new ChannelConfigDlg(parent, channelList[0]);
dialog.centerAndShow();
MainFrame.getInstance().getProgramTableScrollPane()
.updateChannelLabelForChannel(channelList[0]);
} else if (channelList.length > 1) {
MultiChannelConfigDlg dialog;