corner imagecorner image
IDEPlatformPluginsDocs & SupportCommunityPartners

HTML Hyperlink Provider Sample - plugin detail

Sample showing how to create hyperlinks in the editor. Not for Schliemann! This is just an HREF implementation of the standard Editor Hyperlinking API.

NetBeans Plugin - HTML Hyperlink Provider Sample
Plugin owner: geertjan
Website: http://blogs.sun.com/geertjan
Added: 2007-10-03
Last updated: 2007-10-03
NetBeans Versions: 6.0
License: CDDL
Category: NetBeans Rich Client Platform
Size: 0.02 MB
Downloaded: 474 times
Rating:
 0, by 0 users


Download plugin

Verifications for NetBeans versions

Plugin is not subject to any verification

Introduction

Install the module and then you have a sample in the Samples | NetBeans Modules category of the New Project wizard. Finish the wizard and you have a module. Install the module and then you can hold down the Ctrl key while moving the mouse over the value of an HREF attribute, which then becomes a hyperlink. Click the hyperlink and the referenced document opens. Currently works only for local documents, not for those that are online.

Sample location:

1191392442655_hyperlinksample.png

End result:

1191392442655_hyperlinksample2.png

Note: This sample uses Lexer API. This sample uses StyledDocument instead of BaseDocument.



What's new in this version

Pics added below.

[ You have to be logged in to be able to comment. ]

User Comments

There are no comments yet.