prain
asked on
Java Help Class?
How do we implemet "Help" in java?
Do we have a class to do this?. I have checked Java classes and could not find any. Could someone throw some light here?
All I am trying to do is to create and HELP option in my main menu and attach the help files into a class (if available)
Thanks
prain
Do we have a class to do this?. I have checked Java classes and could not find any. Could someone throw some light here?
All I am trying to do is to create and HELP option in my main menu and attach the help files into a class (if available)
Thanks
prain
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
If you are looking for the first option - you can use the Java Help 1.1.1 which generates and creates the tree hierarchy for your help docs.
Niraj
Niraj
You can have an entire Jdk2 help made in simple HTML format using a java utility called 'javadoc'
Follow these steps
c:/>cd jdk\src
c:\jdk\src>This directory contains all the java files and class files for Jdk2 in zip format
run the jar utility as
c:\jdk\src>jar xvf src.jar
This command will extract all the java files and make nested directories as follows: java--awt and util,net,sql,io,and so on
go to
c:\jdk\src>cd java
c:\jdk\src\java>on running dir cmd will see all the directories
go to one you wish to for example
c:\jdk\src\java>cd awt
c:\jdk\src\java\awt>javado c *.java
will create html help files in the current directory, similarly follow for other packages
Follow these steps
c:/>cd jdk\src
c:\jdk\src>This directory contains all the java files and class files for Jdk2 in zip format
run the jar utility as
c:\jdk\src>jar xvf src.jar
This command will extract all the java files and make nested directories as follows: java--awt and util,net,sql,io,and so on
go to
c:\jdk\src>cd java
c:\jdk\src\java>on running dir cmd will see all the directories
go to one you wish to for example
c:\jdk\src\java>cd awt
c:\jdk\src\java\awt>javado
will create html help files in the current directory, similarly follow for other packages
This question appears to have been abandoned. In fact, I will include links to ALL your open questions
below:
Your options are:
1. Accept a Comment As Answer (use the button next to the Expert's name).
2. Close the question if the information was not useful to you. You must tell the participants why you
wish to do this, and allow for Expert response.
3. Ask Community Support to help split points between participating experts, or just comment here with
details and we'll respond with the process.
4. Delete the question. Again, you must tell the other participants why you wish to do this.
For special handling needs, please post a zero point question in the link below, include the question
QID/link.
https://www.experts-exchange.com/jsp/qList.jsp?ta=commspt
Please click this Help Desk link for Member Guidelines, Member Agreement and the Question/Answer process:
Click you Member Profile to view your question history and keep them all current with updates as the
collaboration effort continues.
https://www.experts-exchange.com/jsp/cmtyHelpDesk.jsp
PLEASE DO NOT AWARD THE POINTS TO ME.
------------> EXPERTS:
Please leave any comments regarding this question here on closing recommendations if this item remains
inactive another three days.
Thank you everyone.
Open Qs:
https://www.experts-exchange.com/jsp/qShow.jsp?qid=11862698
https://www.experts-exchange.com/jsp/qShow.jsp?qid=11874078
https://www.experts-exchange.com/jsp/qShow.jsp?qid=20059847
https://www.experts-exchange.com/jsp/qShow.jsp?qid=20138628
https://www.experts-exchange.com/jsp/qShow.jsp?qid=20158216
https://www.experts-exchange.com/jsp/qShow.jsp?qid=20158215
https://www.experts-exchange.com/jsp/qShow.jsp?qid=20167637
https://www.experts-exchange.com/jsp/qShow.jsp?qid=20167641
https://www.experts-exchange.com/jsp/qShow.jsp?qid=20270929
Tuvok
Moderator @ Experts Exchange
P.S. For year 2000 question, special attention is needed to ensure the first correct response is awarded,
since they are not in the comment date order, but rather in Member ID order.
below:
Your options are:
1. Accept a Comment As Answer (use the button next to the Expert's name).
2. Close the question if the information was not useful to you. You must tell the participants why you
wish to do this, and allow for Expert response.
3. Ask Community Support to help split points between participating experts, or just comment here with
details and we'll respond with the process.
4. Delete the question. Again, you must tell the other participants why you wish to do this.
For special handling needs, please post a zero point question in the link below, include the question
QID/link.
https://www.experts-exchange.com/jsp/qList.jsp?ta=commspt
Please click this Help Desk link for Member Guidelines, Member Agreement and the Question/Answer process:
Click you Member Profile to view your question history and keep them all current with updates as the
collaboration effort continues.
https://www.experts-exchange.com/jsp/cmtyHelpDesk.jsp
PLEASE DO NOT AWARD THE POINTS TO ME.
------------> EXPERTS:
Please leave any comments regarding this question here on closing recommendations if this item remains
inactive another three days.
Thank you everyone.
Open Qs:
https://www.experts-exchange.com/jsp/qShow.jsp?qid=11862698
https://www.experts-exchange.com/jsp/qShow.jsp?qid=11874078
https://www.experts-exchange.com/jsp/qShow.jsp?qid=20059847
https://www.experts-exchange.com/jsp/qShow.jsp?qid=20138628
https://www.experts-exchange.com/jsp/qShow.jsp?qid=20158216
https://www.experts-exchange.com/jsp/qShow.jsp?qid=20158215
https://www.experts-exchange.com/jsp/qShow.jsp?qid=20167637
https://www.experts-exchange.com/jsp/qShow.jsp?qid=20167641
https://www.experts-exchange.com/jsp/qShow.jsp?qid=20270929
Tuvok
Moderator @ Experts Exchange
P.S. For year 2000 question, special attention is needed to ensure the first correct response is awarded,
since they are not in the comment date order, but rather in Member ID order.
No comment has been added lately, so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area that this question is:
- points to smantri1
Please leave any comments here within the
next seven days.
PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER !
girionis
Cleanup Volunteer
I will leave a recommendation in the Cleanup topic area that this question is:
- points to smantri1
Please leave any comments here within the
next seven days.
PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER !
girionis
Cleanup Volunteer
per recommendation
SpideyMod
Community Support Moderator @Experts Exchange
SpideyMod
Community Support Moderator @Experts Exchange
If you want the help as a menu item , then you can just have simple static HTML files. And create a directory on your webserver and arrange the help files according to category. And put them as hyperlinks. ( typical examle the Java Tutorial).
If you want to implement dynamic help i.e. query based then you have to write a program ( servlet/jsp ) to serve the appropriate page, based on the query. In this case you have to also build a search so that it can search and locate the appropriate file to be displayed, based on the query. ( it is a kind of Knowledge based/expert help).
Hope this helps,
Niraj