December 19, 2002

Swing StyledDocument

The styledDocument stuff in swing sucks bigtime. My goal is to process xml and show xml in a human readable format (a lot of them are just plain html tags though). Looking at the jdk code doesn't give me any conclusion of how it should work (besides the fact it can take up to 4 megs to load the htmleditor and therefore a lot of time and renders it unusable by default). Also the overdesign is killing, which makes eg the htmleditor completely unreadable. And I am not even starting on the memory leaks of the styled editors. I am letting that crap go now and I am going to implement everything myself, instead of depending on any code (besides interfaces) from sun. I want something I can get working pretty easily, not something I don't why it is working or not working. A rant from a slightly sick Martin Posted by mvdb at December 19, 2002 12:36 PM