List of utility methods to do Swing HTML
T | toBold(final T label) to Bold final Font f = label.getFont(); label.setFont(f.deriveFont(f.getStyle() ^ Font.BOLD)); return label; |
void | write(Writer w, HTML.Tag tag, AttributeSet attributes) Write a tag to a Writer. w.write('<'); w.write(tag.toString()); for (Enumeration<?> a = attributes.getAttributeNames(); a.hasMoreElements();) { Object n = a.nextElement(); if (attributes.isDefined(n)) { w.write(' '); w.write(n.toString()); w.write("=\""); ... |