🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: formatting data in JTable

#8151
From: John McGrath TeamB
Date: Wed, 18 Oct 2000 00:00
17 lines
975 bytes
On Mon, 16 Oct 2000 14:22:01 -0400, Zachary Cooper wrote:

> I'm trying to set fixed formats for the cells in my JTable.
> I want Double's to always show 5 decimal places.  I've
> implemented my own TableCellRenderer, but the 'formatted'
> values I'm passing back aren't taking.  Any suggestions?

Perhaps you could post the code.

-- 
Regards,

John McGrath [TeamB]

---------------------------------------------------
Before sending me e-mail, please read:
    http://www.JPMcGrath.net/newsgroups/e-mail.html
Technical Details
Message-ID: <MPG.14570f353b130fa4989c2d@forums.borland.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <39eb44dc_1@dnews>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 111d45,e68eda959319471c
X-Google-Attributes: gid111d45,public
From: John McGrath  [TeamB] <ng-b@JPMcGrath.net>
Subject: Re: formatting data in JTable
Date: 2000/10/18
Message-ID: <MPG.14570f353b130fa4989c2d@forums.borland.com>
X-Deja-AN: 682762235
References: <39eb44dc_1@dnews>
Organization: Another Netscape Collabra Server User
Newsgroups: borland.public.jbuilder.java.swing