Thursday, January 24, 2002 11:47 AM
Ive written an HTML viewer/browser using Swing and JEditorPane and Im attempting to add a Find function (just like in IE or NS browsers). I can find strings easily in a JTextArea but when I perform a getText() on my JEditorPane, it pulls the entire HTML file tags and all and not just whats displayed on my browser window. Ive tried doing a selectAll() and getting to the JEditorPanes contents via the system clipboard but with no success. How do I obtain only whats shown in the JEditorPane and not all the underlying code that put it there? Thank You.