🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Format a field in a table

#552
From: Paul Nichols (TeamB)
Date: Sun, 26 Jun 2005 07:57
12 lines
1240 bytes
Pep wrote:

> Hi
> How can I show a integer number in a specified column in a table, it shows
> me with decimals.
> I don't know how to format it. I use a model and a JTable.
> 
> Thanks


What Model are you using? Formatting the fields can be done through the
Column and Row specifiers in the Model you are using.
Technical Details
Message-ID: <42bf1cb6@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!newsread.com!newsprint.newsread.com!38.119.100.83.MISMATCH!news-out.nntp.be!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail
References: <42b69446@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 111d45,bf3b431b3c33630f
X-Google-Attributes: gid111d45,public
X-Google-Language: ENGLISH,ASCII-7-bit
Message-ID: <42bf1cb6@newsgroups.borland.com>
From: "Paul Nichols (TeamB)" <paul@comp.net>
Subject: Re: Format a field in a table
Newsgroups: borland.public.jbuilder.java.swing
Reply-To: paul@comp.net
Date: Sun, 26 Jun 2005 02:57:38 -0500
References: <42b69446@newsgroups.borland.com>
Lines: 12
Organization: Team B
User-Agent: KNode/0.8.0
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7Bit
NNTP-Posting-Host: 70.34.185.163
X-Trace: newsgroups.borland.com 1119820982 70.34.185.163 (26 Jun 2005 14:23:02 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!newsread.com!newsprint.newsread.com!38.119.100.83.MISMATCH!news-out.nntp.be!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail