• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Devaka Cooray
  • Knute Snortum
  • Paul Clapham
  • Tim Cooke
Sheriffs:
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Bear Bibeault
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Ron McLeod
  • Piet Souris
  • Frits Walraven
Bartenders:
  • Ganesh Patekar
  • Tim Holloway
  • salvin francis

create a html help menu  RSS feed

 
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi all,
i'd like to create a help menu for my java application (swing gui). this should display some html sites where the functions of the application are explained. what is a good way to do this? it is easy to display html sites in a jframe? for me, it would also be ok to just open a html browser window with the html files. is this easier?

does anyone has a tipp or tut how to do it (good and simple)?

thx gon
 
author
Posts: 14112
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
That's what javahelp is good for: http://java.sun.com/products/javahelp/
 
gon to
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
mh, this seems a bit oversized for my application. i have only few html sites to display. javahelp would probably be bigger then the actual application. isn't it easier to just display them in a popup window? if yes, how do i do this? i havent much experience with gui stuff...
 
Ilja Preuss
author
Posts: 14112
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think a JEditorPane can display HTML.
 
gon to
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thanx, i will try this. or maybe i will just open a html file in a webbrowser.

thank you!
 
Ranch Hand
Posts: 15304
6
Chrome IntelliJ IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Originally posted by Ilja Preuss:
I think a JEditorPane can display HTML.



+1. Very easy using JEditorPane.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!