🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Data-bound Text Pane / styled text

#10300
From: Zoya Goldman
Date: Wed, 13 Oct 1999 00:00
14 lines
1010 bytes
I'm having a problem with saving styled text to a database and then
displaying it in data-bound JbdTextPane. If I set data type of bound column
to STRING, it saves text without styling. If I set it to OBJECT, it saves
this:

javax.swing.text.DefaultStyledDocument@dff5197e

and nothing is displayed in the bound text pane. I'm working with MS SQL
Server database, field of TEXT data type (I also tried IMAGE with no luck).

I'd greatly appreciate any help with this problem. Thanks!

Zoya Goldman, m42 Technologies
zgoldman@iname.com
Technical Details
Message-ID: <7u2lli$b984@forums.borland.com>
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,4189b02ba26b8d1e,start
X-Google-Attributes: gid111d45,public
From: "Zoya Goldman" <zgoldman@megsinet.net>
Subject: Data-bound Text Pane / styled text
Date: 1999/10/13
Message-ID: <7u2lli$b984@forums.borland.com>
X-Deja-AN: 536359867
Organization: Another Netscape Collabra Server User
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3
Newsgroups: borland.public.jbuilder.java.swing