Warning: session_start(): open(/var/lib/php/sessions/sess_kiqoff83cpu1p73qa9egashg8h, 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
sbool tableSetColumnWidths_debug;
static void tableSetColumnWidths(JTable table, Map widths) {
pcall {
TableColumnModel tcm = table.getColumnModel();
int n = tcm.getColumnCount();
for i to n: {
TableColumn tc = tcm.getColumn(i);
Int w = widths.get(str(tc.getHeaderValue());
if (w != null) {
tc.setPreferredWidth(w);
if (tableSetColumnWidths_debug)
print("Setting width of column " + i + " to " + w);*/
}
}
}
}
static void tableSetColumnWidths(JTable table, O... widths) {
tableSetColumnWidths(table, litorderedmap(widths));
}