I use the following function to allow a search to highlight the text it finds on a document:
function replaceText ( node ) {
searcher = new RegExp ( textString, "gi" );
firsthit = searcher.exec(node.nodeValue)
if ( firsthit ) {
node.parentNode.innerHTML =...
I've got a couple nicely working classes that throw their print with System.out.println. My question is, is there a way to redirect the System.out.println so that these lines print to a JTextArea?
I basically want my swing front-end to print out what's going on in the background. Is this...
I have an application on which I have successfully displayed HTML hyperlinks. My question is, now that I have that, is there a way to tell the hyperlinks to display the documents in another window?
I have a separate HTML page set up, and what I'd really like to have happen is to get the...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.