🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.swing
Article #12076

Find location in JEditorPane

#12076
From: Yoni Mizrahi
Date: Sun, 21 Feb 1999 00:00
10 lines
917 bytes
I'm using JEditorPane to display html files. I see the text without the
tags but I need to find a way to locate the position of the text
displayed on-screen, in the html file itself (with the tags and stuff).

I thought I could use viewToModel and modelToView but it wants a Point
and I want to find the text pos.
Anyone can help ?

Thanks in advance,
Yoni.
Technical Details
Message-ID: <36D04047.DCCA9F28@cioware.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 111d45,27ab08f0890c05d8,start
X-Google-Attributes: gid111d45,public
From: Yoni Mizrahi <yoni@cioware.com>
Subject: Find location in JEditorPane
Date: 1999/02/21
Message-ID: <36D04047.DCCA9F28@cioware.com>
X-Deja-AN: 446756364
X-NNTP-Posting-Host: 209.88.155.212
Content-Transfer-Encoding: 7bit
X-Accept-Language: en
Content-Type: text/plain; charset=us-ascii
X-Trace: 21 Feb 1999 19:18:00 +0200, 209.88.155.212
MIME-Version: 1.0
Newsgroups: borland.public.jbuilder.java.swing