Java Utililty Methods Swing HTML

List of utility methods to do Swing HTML

Description

The list of methods to do Swing HTML are organized into topic(s).

Method

TtoBold(final T label)
to Bold
final Font f = label.getFont();
label.setFont(f.deriveFont(f.getStyle() ^ Font.BOLD));
return label;
voidwrite(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("=\"");
...