Thread View: comp.lang.java.gui
1 messages
1 total messages
Started by Wilf Reedijk
Thu, 09 Jul 1998 00:00
JTextPane: character attributes for inserted text - setting from right
Author: Wilf Reedijk
Date: Thu, 09 Jul 1998 00:00
Date: Thu, 09 Jul 1998 00:00
42 lines
2252 bytes
2252 bytes
This is a multi-part message in MIME format. --------------7DB1516C6CC40C7A697B9ED5 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit I'm using JTextPane. I am trying to set the character attributes at the current insertion point. This insertion point is between an icon (to the left) and other text (on the right). I want the new text to assume the attributes of the text to the right. My observation is that new text that is inserted assumes the attributes from the character to the left. Which in my case makes no sense since there is an icon on the left. There must be a way to reverse this. Please help if you can. Thank you Wilf Reedijk -- wilf@intravenous.com ICQ# 9956840 --------------7DB1516C6CC40C7A697B9ED5 Content-Type: text/x-vcard; charset=us-ascii; name="vcard.vcf" Content-Transfer-Encoding: 7bit Content-Description: Card for Wilf Reedijk Content-Disposition: attachment; filename="vcard.vcf" begin: vcard fn: Wilf Reedijk n: Reedijk;Wilf email;internet: wilf@intravenous.com note: ICQ: 9956840 x-mozilla-cpt: ;0 x-mozilla-html: FALSE version: 2.1 end: vcard --------------7DB1516C6CC40C7A697B9ED5--
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads