The Artima Developer Community
Sponsored Link

Java Answers Forum
Tree Editor for HTML Outlines

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Jay's Island

Posts: 1
Nickname: jayseye
Registered: Dec, 2002

Tree Editor for HTML Outlines Posted: Dec 23, 2002 3:01 AM
Reply to this message Reply
Advertisement
I'd like to display and edit HTML files as collapsible outlines. Is it feasible to use a JTree as the UI for an HTMLDocument, by customizing an HTMLEditorKit, instead of using the usual JTextPane / JEditorPane GUI? Or does a more efficient design exist in Java?

My goal is a cross-platform replacement for MS Word's Outline View. Word allows expanding & collapsing HTML files based on the hierarchy of headings <H1> through <H6>. I'd like to add the capability to expand and collapse nested lists, if possible.

This application is basically for text rather than images, but it must support hyperlinks (via both <A HREF="..."> and <A NAME="...">. Colored text, and tables, would also be nice features.

Any feedback would be appreciated. Thanks!

Topic: How to write an client applet using servlet , through tomcat Previous Topic   Next Topic Topic: New to Java, need help!

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use