🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Writing my own setLineWrap for the JTextArea (part 2) for teamB

#11683
From: Anne JANSSENS
Date: Mon, 19 Apr 1999 00:00
19 lines
1123 bytes
I'd like to be aware of the new line managed by the JTextArea because i'd
like to manage
a status bar, where is shown the current line and current colonne while the
cursor is moving.
( using swing 1.1 )

but because of the view, and the difference because the model and the view,
i did not succeed in
finding how to tell the user the right position of the cursor as the
getCaretPosition depend on the
buffer and not the view ! using this information is false, as if i would
have used caretUpdate !

I would like perhaps to have the x and y of the caret, but I have'nt find it
!

Any suggestions ? Thanks

:)Anne
Technical Details
Message-ID: <7ffdvb$sd612@forums.borland.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,f73225d1e21fe736,start
X-Google-Attributes: gid111d45,public
From: "Anne JANSSENS" <recherche@generix.fr>
Subject: Writing my own setLineWrap for the JTextArea (part 2) for teamB
Date: 1999/04/19
Message-ID: <7ffdvb$sd612@forums.borland.com>
X-Deja-AN: 468307806
Organization: Another Netscape Collabra Server User
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3
Newsgroups: borland.public.jbuilder.java.swing