🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: JTextPane, Documents and Styles confusion

#12985
From: Vladimir Olenin
Date: Thu, 15 Oct 1998 00:00
73 lines
3144 bytes
This is a multi-part message in MIME format.
--------------8BA1BE7F9B34D2BD54B5EBAC
Content-Type: text/plain; charset=koi8-r
Content-Transfer-Encoding: 7bit

Sure, no problem with this.
Just go to the
http://www.javasoft.com/docs/books/tutorial/information/download.html to
download it, or
http://www.javasoft.com/docs/books/tutorial/ui/index.html to read it
online.

In this tutorial u need two topics: Using JTextField and Using
JTextComponents. This tutorial IS REALLY USEFUL!

All the best,
                        Vladimir



PS: u can find some stuff here as well:
http://java.sun.com/products/jfc/tsc/index.html

Joe Fessler wrote:
> 
> Could anyone provide guidance on the usage of the above mentioned
> classes?  I've tried to follow the examples in Swing 1.0.3 but I believe
> I'm up against my fundamental ignorance of how these things relate to
> one another and how they operate internally.
> 
> My overall goal is to place a JTextPane in an applet and fill that
> JTextPane with formatted text (bold, italics, color, etc.).  The text
> will be obtained from CORBA objects and contain no initial formatting.
> As the text is built up, the formatting would be applied for rendering
> in the JTextPane.  No editing of the contents by the user is required,
> however I envision the applet responding to mouse events within the pane
> (e.g. if a person's name is formatted with underline, resembling an http
> link, an e-mail composition window might be launched).  This would be
> like having a low-end browser inside the applet.
> 
> If anyone could provide insight on this effort or direct me to a
> tutorial on the material, it would be most appreciated.
> 
> Thanks.
> 
> Regards,
> -Joe

-- 
>-------<===========>-------<
Join in Java community now!
http://www.geocities.com/SiliconValley/Heights/9815
(NB: the page is under construction now)
>-------<===========>-------<
--------------8BA1BE7F9B34D2BD54B5EBAC
Content-Type: text/x-vcard; charset=koi8-r;
 name="keenonjava.vcf"
Content-Transfer-Encoding: 7bit
Content-Description: Card for Vladimir Olenin
Content-Disposition: attachment;
 filename="keenonjava.vcf"

begin:vcard
n:Vladimir;Olenin
x-mozilla-html:FALSE
adr:version:2.1
version:2.1
email;internet:keenonjava@collegemail.com
note:Java programmer. Open for project development offers. See my home page at: http://www.geocities.com/SiliconValley/Heights/9815/
end:vcard


--------------8BA1BE7F9B34D2BD54B5EBAC--
Technical Details
Message-ID: <362535E6.8DD48C9F@collegemail.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <362511B7.FBF72959@LocalIP.net>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 111d45,e5c1fce54a0f6ab9
X-Google-Attributes: gid111d45,public
From: Vladimir Olenin <keenonjava@collegemail.com>
Subject: Re: JTextPane, Documents and Styles confusion
Date: 1998/10/15
Message-ID: <362535E6.8DD48C9F@collegemail.com>
X-Deja-AN: 401147584
References: <362511B7.FBF72959@LocalIP.net>
To: Joe Fessler <jfessler@LocalIP.net>
X-Accept-Language: en,ru
Content-Type: multipart/mixed; boundary="------------8BA1BE7F9B34D2BD54B5EBAC"
Organization: Another Netscape Collabra Server User
Mime-Version: 1.0
Newsgroups: borland.public.jbuilder.java.swing