I understand how to get the attribute with:
public void hyperlinkUpdate(HyperlinkEvent e) {
e.getSourceElement().getAttributes().getAttribute(HTML.Attribute.COLOR);
How do I change that attribute?
I understand how to get the attribute with:
public void hyperlinkUpdate(HyperlinkEvent e) {
e.getSourceElement().getAttributes().getAttribute(HTML.Attribute.COLOR);
How do I change that attribute?
Copyright © 2021 Jogjafile Inc.
This code changes the style of the element. Hope it will help...