Download NetBeans!

20071003 Wednesday October 03, 2007

Sample for Creating Hyperlinks in the HTML Editor

I have updated the HTML Hyperlink Provider sample, so that it works in NetBeans IDE 6.0. It does not use the deprecated BaseDocument class and it makes use of the 6.0 Lexer API. Once you install the sample, which you will find in the New Project wizard, you will be able to hold down the Ctrl key and move your mouse over the value of HREF attributes in HTML files. When you do so, the value will turn into a hyperlink, which you can click to open the referenced document.

Go here to download the sample.

External links (i.e., those beginning with 'http://') are not supported yet, but adding them can be the first task you set yourself when working with the sample...

Oct 03 2007, 01:13:32 AM PDT Permalink