As we try print a table content in Java, using the printable interface we get an exception on empty JLabel components. The print function seems to check if a label has no text in it and raise an exception. The exception stops the printing.<br>
<br>
Unfortunately we need to print empty labels. Could someone suggest an easy way to walk around this problem. We can remove all empty labels from the table but this is problematic since we use empty labels in many situations and we prefer to keep the code untouched. Maybe someone know of a fix to this bug.
<br>
Unfortunately we need to print empty labels. Could someone suggest an easy way to walk around this problem. We can remove all empty labels from the table but this is problematic since we use empty labels in many situations and we prefer to keep the code untouched. Maybe someone know of a fix to this bug.