🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Layout Question - BoxLayout and JTextAreas. Example program included.

#1090
From: Hal Brooks
Date: Wed, 24 Mar 2004 06:21
16 lines
1645 bytes
On Mon, 22 Mar 2004 10:02:17 -0800, "Greg Hamer"
<ghamer@dslextreme.com> wrote:

>You could use a JTextPane instead. It can handle multiple fonts in the
>document.

Thanks Greg!  I'd looked at this control before, but has misunderstood
some things about it.  I've taken a second look and it seems
promising.

However, I'm struggling to understand all its capabilities.  I've
looked through the Help documentation, and the Sun tutorial that the
Help links to, as well as two Java books (Eckel's and Horstmann's).
But I still haven't found anything that really describes how to to
take advantage of the power that JTextPane seems to have.  Any
suggestions about good places to find examples and/or tutorials?
Technical Details
Message-ID: <4061285f.3792633@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.freenet.de!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <405bbe99.82703921@newsgroups.borland.com> <405f29cc$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 111d45,dd7cb71a5712f2ed
X-Google-Attributes: gid111d45,public
X-Google-ArrivalTime: 2004-03-23 22:39:36 PST
From: dont@spamme.com (Hal Brooks)
Newsgroups: borland.public.jbuilder.java.swing
Subject: Re: Layout Question - BoxLayout and JTextAreas.  Example program included.
Date: Wed, 24 Mar 2004 06:21:54 GMT
Message-ID: <4061285f.3792633@newsgroups.borland.com>
References: <405bbe99.82703921@newsgroups.borland.com> <405f29cc$1@newsgroups.borland.com>
X-Newsreader: Forte Free Agent 1.21/32.243
NNTP-Posting-Host: 65.41.77.249
X-Trace: newsgroups.borland.com 1080109313 65.41.77.249 (23 Mar 2004 22:21:53 -0800)
Lines: 17
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.freenet.de!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail