This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes Swing / AWT / SWT and the fly likes create a html help menu Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "create a html help menu" Watch "create a html help menu" New topic
Author

create a html help menu

gon to
Greenhorn

Joined: Jan 20, 2006
Posts: 18
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
Ilja Preuss
author
Sheriff

Joined: Jul 11, 2001
Posts: 14112
That's what javahelp is good for: http://java.sun.com/products/javahelp/


The soul is dyed the color of its thoughts. Think only on those things that are in line with your principles and can bear the light of day. The content of your character is your choice. Day by day, what you do is who you become. Your integrity is your destiny - it is the light that guides your way. - Heraclitus
gon to
Greenhorn

Joined: Jan 20, 2006
Posts: 18
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
Sheriff

Joined: Jul 11, 2001
Posts: 14112
I think a JEditorPane can display HTML.
gon to
Greenhorn

Joined: Jan 20, 2006
Posts: 18
thanx, i will try this. or maybe i will just open a html file in a webbrowser.

thank you!
Gregg Bolinger
GenRocket Founder
Ranch Hand

Joined: Jul 11, 2001
Posts: 15299
    
    6

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


+1. Very easy using JEditorPane.


GenRocket - Experts at Building Test Data
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: create a html help menu