* Returns the selected Font (with the chosen size, thickness)
* Unless the user has chosen otherwise, Arial font size 11 is returned.
*/
@Override
public Object getValue() {
ProgramDefinitions definitions = new ProgramDefinitions();
for (int i = 0; i < programTable.getRowCount(); i++) {
String extension = (String) programTable.getValueAt(i, 0, true);
String program = (String) programTable.getValueAt(i, 1, true);
ProgramDefinition definition = new ProgramDefinition(extension, program);
definitions.add(definition);
}
return definitions;
}