| 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
Ranch Hand
Joined: Jul 11, 2001
Posts: 15230
|
|
Originally posted by Ilja Preuss: I think a JEditorPane can display HTML.
+1. Very easy using JEditorPane.
|
 |
 |
|
|
subject: create a html help menu
|
|
|