Date: Mon, 11 Feb 2002 10:53:13 -0800 From: Dmitry Beransky <[EMAIL PROTECTED]>
Hyperlinks don't have their own view. Instead they are rendered by the good old InlineView just like the rest of inline text. Furthermore, the view doesn't even know when it's rendering a hyperlink, it just doesn't care as it relies solely on stylesheets for styling preferences. So the only practical way to do what you want is, in fact, to "mess around" with stylesheets. It's not that hard, actually. All you need to do, is to extend the HTMLEditorKit and override getStyleSheet()... Thanks, that was extremely helpful. I don't understand the first thing about views. Do you know of any good tutorial? KJ _______________________________________________ Swing mailing list [EMAIL PROTECTED] http://eos.dk/mailman/listinfo/swing