Warning: session_start(): open(/var/lib/php/sessions/sess_pob0roqgvfl8gql01p1id824kg, O_RDWR) failed: No space left on device (28) in /var/www/tb-usercake/models/config.php on line 51
Warning: session_start(): Failed to read session data: files (path: /var/lib/php/sessions) in /var/www/tb-usercake/models/config.php on line 51
static Pair fillTableWithData_makeData(L rows, LS colNames) {
ret fillTableWithData_makeData(rows, asStringArray(colNames));
}
static Pair fillTableWithData_makeData(L rows, S... colNames) {
Object[][] data = new Object[rows.size()][];
int w = 0;
for (int i = 0; i < rows.size(); i++) {
L l = rows.get(i);
Object[] r = new Object[l.size()];
for (int j = 0; j < l.size(); j++) {
O o = l.get(j);
if (o cast BufferedImage) o = imageIcon(o);
ifclass RGBImage
if (o cast RGBImage) o = imageIcon(o);
endif
if (o cast File)
o = f2s(o);
r[j] = o;
}
data[i] = r;
w = Math.max(w, l.size());
}
O[] columnNames = new O[w];
for (int i = 0; i < w; i++)
columnNames[i] = i < l(colNames) ? colNames[i] : "?";
ret pair(data, columnNames);
}