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