User Profile

Collapse

Profile Sidebar

Collapse
dunkymunky
dunkymunky
Last Activity: Mar 28 '08, 03:00 AM
Joined: Mar 25 '08
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • dunkymunky
    replied to opening hyperlinks in a JEditorPane
    in Java
    i've gone all over the API, and looked at other examples on the internet, but just cant seem to get it working properly...boil er plate code would be much helpful (im assuming boiler plate code is basic, skeleton code :P )
    See more | Go to post

    Leave a comment:


  • dunkymunky
    replied to opening hyperlinks in a JEditorPane
    in Java
    hmm...thanks for the reply...but still not sure how to go about it...?
    See more | Go to post

    Leave a comment:


  • dunkymunky
    started a topic opening hyperlinks in a JEditorPane
    in Java

    opening hyperlinks in a JEditorPane

    I've got a JEditorPane that is correctly displaying HTML hyperlinks, but all it does is display them, how can I make it so that when someone clicks on this hyperlink, it opens up their default web browser and opens the correct page?

    This is the code I have so far:

    Code:
    public interface HyperLinkListener {
      public void hyperlinkUpdate(HyperlinkEvent e);
    } 
    public void hyperlinkUpdate(HyperlinkEvent evt)
    ...
    See more | Go to post
No activity results to display
Show More
Working...