🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.api
Article #726

Read only text in JTextPane

#726
From: Lilia Petrova
Date: Sat, 15 Mar 2003 16:10
8 lines
1203 bytes
Hi there,


I want to make a part of a text in a JTextPane not editable.
I am using JEditorPane, HTMLEditorKit and HTMLDocument.
I've made my own tag that wraps the text that I do not want to edit.

Is there any other may be more appropriate way to do the same thing?
Technical Details
Message-ID: <3e734fc9@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-01!sn-xit-08!supernews.com!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 1089d0,b5825e1dbd96eff7,start
X-Google-Attributes: gid1089d0,public
X-Google-ArrivalTime: 2003-03-15 08:09:32 PST
From: "Lilia Petrova" <lpetrova@icygen.com>
Newsgroups: borland.public.jbuilder.java.api
Subject: Read only text in JTextPane
Date: Sat, 15 Mar 2003 18:10:24 +0200
Lines: 10
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1067
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1067
NNTP-Posting-Host: 195.96.228.205
Message-ID: <3e734fc9@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1047744457 195.96.228.205 (15 Mar 2003 08:07:37 -0800)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-01!sn-xit-08!supernews.com!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail