Skip to main content

Blog Archive for g_s_m during August 2007

pre, code { color: navy; } pre { border: solid gray 1px; margin: 1em 2em; padding: 0em 1em; } After I published the entry on removing elements from Swing HTMLDocument in JDK7, I got a question from a reader: but how to actually remove elements in JDK6? There's no easy way, but what is the hard way? Well, there exist a bunch of methods, to various degrees of ugliness, let's look at one of them....