Program[] programs = mList.getSelectedPrograms();
if (programs == null || programs.length == 0) {
programs = mPrograms.toArray(new Program[mPrograms.size()]);
}
if (programs != null && programs.length > 0) {
SendToPluginDialog sendDialog = new SendToPluginDialog(ProgramListPlugin.getInstance(), (Window) mDialog,
programs);
sendDialog.setVisible(true);
}
}
});
mShowDescription = new JCheckBox(mLocalizer.msg("showProgramDescription", "Show program description"),