I have a JEditorPane and I’m trying to edit one fo the html element attributes, basically changing the the src x value in to a custom value The code I have is: I get the following exception in the before last line when I try to remove the existing attribute (because you can’t replace): I read a few places that
Tag: jeditorpane
JEditorPane – make tabs spaces
I’m wondering if there’s a way to have tabs convert to spaces in a jeditorpane, much like you’d see when working in an IDE. I don’t want to set the tab size. I can already do that easily. I want to have tabs replaced with their equivalent in spaces. So for example if my tabs are 5 spaces long, I