• Post Reply Bookmark Topic Watch Topic
  • New Topic

Help Contents  RSS feed

 
Arjun Shastry
Ranch Hand
Posts: 1903
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
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?
 
Francois Nadeau
Ranch Hand
Posts: 46
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello Arjun,

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.

Hope this helps,


 
Arjun Shastry
Ranch Hand
Posts: 1903
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks.As its 1/2 pages long, I will go for JTextPane.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!