* @return visible Programs
*/
private Program[] collectPrograms() {
ArrayList<Program> array = new ArrayList<Program>();
ProgramTableModel model = mMainFrame.getProgramTableModel();
int columnCount = model.getColumnCount();
for (int col = 0; col < columnCount; col++) {
int rowCount = model.getRowCount(col);
for (int row = 0; row < rowCount; row++) {
// Get the program
ProgramPanel panel = model.getProgramPanel(col, row);
array.add(panel.getProgram());
}
}