public static TableModel[] entity2ReadOnlyModel(Class<?>... entityClasses) {
		List<TableModel> l = new ArrayList<TableModel>();
		for (Class<?> clazz : entityClasses) {
			l.add(entity2ReadOnlyModel(clazz));
		}
		return l.toArray(new TableModel[l.size()]);
	}
public static TableModel [ ] entity2ReadOnlyModel ( Class < ? > ... entityClasses ) { List < TableModel > l = new ArrayList < TableModel > ( ) ; for ( Class < ? > clazz : entityClasses ) { l . add ( entity2ReadOnlyModel ( clazz ) ) ; } return l . toArray ( new TableModel [ l . size ( ) ] ) ; }
Convert entity classes to a read-only TableModel instances