Adobe Framemaker/linker
Expert: Neal Ziring - 12/9/2011
Question1. if i click the page then will show me that page
2. after create Table of Contents & index then can do the arrangement by automatically ?
AnswerHoo -
I don't understand your question. It sounds like you want to make a list
or table of web pages, display the pages, and then create a table of contents
and index?
Part 1 is not hard. You can use the Swing component javax.swing.JTextPane
to display a web page. You can use the javax.swing.JList or javax.swing.JList
to display a list of pages. You can see tutorials for these Swing components
here:
http://docs.oracle.com/javase/tutorial/uiswing/components/index.html
Part 2 may be hard. If you want to create a table of contents and index
from a web page, you need to be able to parse the web page. That is
very hard. You will need to get a Java HTML parser, such as
http://htmlparser.sourceforge.net/, and use it to dissect the structure
of the web page and extract all links.
Sorry, I cannot help any more with this, because I do not understand your
question.
...nz