2006-07-14 03:34:11 UTC
I've seen this issue pop up a couple times, so I'll just make a general post about it... This gathers together advice that has been given by others in earlier posts.
If you want to perform hyperlinking in prefuse, launching URLs in a browser, there are two different possible approaches.
For folks writing stand-alone applications (NOT applets), you can use the BrowserLauncher class in the the utility libraries. Just add your own ControlListener that calls the launch methods as desired.
For those writing applets, just use the Applet API. Get the AppletContext and use the showDocument() methods. For example, you could create a ControlListener that has an Applet reference as a member variable and opens hyperlinks as needed.
cheers,
-jeff