Article View: borland.public.jbuilder.java.language
Article #7364Current Date and ListBox formatting
From: Sara Swartz
Date: Sun, 24 Jun 2001 19:20
Date: Sun, 24 Jun 2001 19:20
19 lines
1498 bytes
1498 bytes
I have two newbie questions: The first is how do I get the current date to
print on a report?
The second question refers to formatting. I have a list box that I am
populating from a vector I am using the form :
CountHolder.addElement (filename +" " + filer.list
().length );
The problem is that each filename is a different length, and therefore the
filer.list().length parts do not line up in the list box. The result looks
like
Anypoint 5
Toy 3
majorfoobar 18
How can I format the Vector elements so that the numbers line up?
Thanks!
Sara
Technical Details
Message-ID:
<3b36757a$1_1@dnews>Path:
arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!sn-xit-02!supernews.com!peer.news.opaltelecom.net!newsfeed.wirehub.nl!fr.usenet-edu.net!usenet-edu.net!newsfeed00.sul.t-online.de!t-online.de!nntp-relay.ihug.net!newsfeeds.ihug.co.nz!ihug.co.nz!dnewsShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f74b3,ade243ff8b82314a,start X-Google-Attributes: gidf74b3,public X-Google-ArrivalTime: 2001-06-24 16:21:34 PST From: "Sara Swartz" <Sarabill@nospamHotmail.com> Newsgroups: borland.public.jbuilder.java.language Subject: Current Date and ListBox formatting Date: Sun, 24 Jun 2001 19:20:01 -0000 Lines: 22 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2462.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2462.0000 NNTP-Posting-Host: 24.52.33.77 Message-ID: <3b36757a$1_1@dnews> X-Trace: dnews 993424762 24.52.33.77 (24 Jun 2001 16:19:22 -0700) Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!sn-xit-02!supernews.com!peer.news.opaltelecom.net!newsfeed.wirehub.nl!fr.usenet-edu.net!usenet-edu.net!newsfeed00.sul.t-online.de!t-online.de!nntp-relay.ihug.net!newsfeeds.ihug.co.nz!ihug.co.nz!dnews