🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

How can I set fonts for selected text in TextArea Control?

#11670
From: EVL
Date: Sat, 17 Apr 1999 00:00
7 lines
812 bytes
When I write a text editor by using JBCL TextArea Control, I can set the
fonts for the whole text in the control, such as
textAreaControl.setFont(fontChooser1.getValue());
But how can I do if I want to set the fonts just for the selected text
in the TextArea control.

Thanks
Technical Details
Message-ID: <37182D6E.52265354@evl.uic.edu>
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,8cb5633c07073bc5,start
X-Google-Attributes: gid111d45,public
From: EVL <@evl.uic.edu>
Subject: How can I set fonts for selected text in TextArea Control?
Date: 1999/04/17
Message-ID: <37182D6E.52265354@evl.uic.edu>
X-Deja-AN: 467427183
Content-Transfer-Encoding: 7bit
X-Accept-Language: en
Content-Type: text/plain; charset=us-ascii
Organization: Another Netscape Collabra Server User
Mime-Version: 1.0
Newsgroups: borland.public.jbuilder.java.swing