Thursday, February 12, 2009

Explain how to render an HTML page using only Swing

Question :Explain how to render an HTML page using only Swing?
Answer :Use a JEditorPane or JTextPane and set it with an HTMLEditorKit, then load the text into the pane.

No comments: