Article View: borland.public.jbuilder.java.swing
Article #8136formatting data in JTable
From: Zachary Cooper
Date: Mon, 16 Oct 2000 00:00
Date: Mon, 16 Oct 2000 00:00
5 lines
771 bytes
771 bytes
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? Thanks.
Technical Details
Message-ID:
<39eb44dc_1@dnews>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111d45,e68eda959319471c,start X-Google-Attributes: gid111d45,public From: "Zachary Cooper" <ztc@bigfoot.com> Subject: formatting data in JTable Date: 2000/10/16 Message-ID: <39eb44dc_1@dnews> X-Deja-AN: 682157180 X-Trace: 16 Oct 2000 11:11:40 -0800, 151.202.52.226 X-MSMail-Priority: Normal X-Priority: 3 Reply-To: "Zachary Cooper" <ztc@bigfoot.com> Newsgroups: borland.public.jbuilder.java.swing X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400