for (int row = 0; row < table.getRowCount(); row++) {
for (int col = 0; col < columns; col++) {
Object value = table.getValueAt(row, col);
- System.out.println("row=" + row + " col=" + col + " : " + value);
+ //System.out.println("row=" + row + " col=" + col + " : " + value);
widths[col] = Math.max(widths[col], value == null ? 0 : value.toString().length());
}
}
*/
Font font = border.getTitleFont();
if (font == null) {
- log.error("Border font is null, reverting to JLabel font");
+ log.warn("JRE bug workaround : Border font is null, reverting to JLabel font");
font = new JLabel().getFont();
if (font == null) {
- log.error("JLabel font is null, not modifying font");
+ log.warn("JRE bug workaround : JLabel font is null, not modifying font");
return;
}
}