I am trying to create Help Content page.Contents are just 1 page or 2 pages long.I am thinking using JTextPane and inserting the text and setting font/size etc using Style/Document classes in javax.swing.text
Is there any better way for doing this?
Arjun Shastry wrote:Is there any better way for doing this?
That really depends on your situation. If you are building a commercial program, or learning in order to make a commercial program, then I would sugggest that you use JavaHelp. It is very mature, and it gives you a interface that most Window$ users know how to use (since it will look just like Windows' help interface).
Arjun Shastry wrote:Contents are just 1 page or 2 pages long.
On the other hand, if this means that you only have 2 help pages, then using JTextPane seems like a good choise to display HTML in a Java application.