Article View: borland.public.jbuilder.java.swing
Article #11962Selections in JEditorPane programmatically driven
From: Michael Mitiaguin
Date: Mon, 22 Mar 1999 00:00
Date: Mon, 22 Mar 1999 00:00
12 lines
1104 bytes
1104 bytes
It is clear how to select a particular fragment of text . Can't figure out how to implement automatic scrolling to make a selection visible. Sort of conventional search CTRL+F to find and highlight something in window and then pressing F3 ( or whatever ) brings next hit. Would it be possible to do the same for HTML including pictures( I mean how to calculate an offset for particular text selection ). Thank you. ------------------------------------------------------------------- Michael Mitiaguin -------------------------------------------------------------------
Technical Details
Message-ID:
<36F57B2E.891D6D21@digerati.com.au>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111d45,188c8f8234151d6e,start X-Google-Attributes: gid111d45,public From: Michael Mitiaguin <michael@digerati.com.au> Subject: Selections in JEditorPane programmatically driven Date: 1999/03/22 Message-ID: <36F57B2E.891D6D21@digerati.com.au> X-Deja-AN: 457361208 Content-Transfer-Encoding: 7bit X-Accept-Language: en Content-Type: text/plain; charset=us-ascii Organization: Digerati Mime-Version: 1.0 Newsgroups: borland.public.jbuilder.java.swing