February 2014
Beginner
1248 pages
62h 25m
English
• JEditorPane (p. 3) method setPage (p. 5) downloads the document specified by its argument and displays it.
• Typically, an HTML document contains hyperlinks that link to other documents on the web. If an HTML document is displayed in an uneditable JEditorPane and the user clicks a hyperlink (p. 5), a HyperlinkEvent (p. 5) occurs and the HyperlinkListeners are notified.
• HyperlinkEvent method getEventType (p. 5) determines the event type. HyperlinkEvent contains nested class EventType (p. 5), which declares event types ACTIVATED, ENTERED and EXITED. HyperlinkEvent method getURL (p. 5) obtains the URL represented by the hyperlink.
Read now
Unlock full access