public static void columnsFor(ResultSet resultSet,TableEditor editor) throws SQLException {
  List<Column> columns=new ArrayList<>();
  columnsFor(resultSet,null);
  editor.setColumns(columns);
}

public static void columnsFor ( ResultSet resultSet , TableEditor editor ) throws SQLException { List < Column > columns = new ArrayList < > ( ) ; columnsFor ( resultSet , null ) ; editor . setColumns ( columns ) ; }
use the supplied table editor to create columns for the supplied result set .
