Article View: borland.public.jbuilder.java.language
Article #7242Re: Converting int to string
From: Zoltan Grose
Date: Thu, 05 Jul 2001 04:12
Date: Thu, 05 Jul 2001 04:12
12 lines
1248 bytes
1248 bytes
scratch that. although it works, it just goes and calls Integer.toString(i, 10) which looks like a fancy way to call Integer.toString(i) so go with JLabel1.setCaption(Integer.toString(myint)); and save yourself 2 extra method calls. my bad. -zoltan "Zoltan Grose" <zgrose@pacbell.net> wrote in message news:3b43e360$1_1@dnews... > JLabel1.setCaption(String.valueOf(myint)); > > >
Technical Details
Message-ID:
<3b43e91d$1_1@dnews>Path:
arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!newsfeed.wirehub.nl!PeerFeed.KWeb.on.ca!dnewsReferences:
<3B434ACC.C76F849F@TheKosher.net> <3b43e360$1_1@dnews>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f74b3,dfeeb4f7ea6be38c X-Google-Attributes: gidf74b3,public X-Google-ArrivalTime: 2001-07-04 21:13:35 PST From: "Zoltan Grose" <zgrose@pacbell.net> Newsgroups: borland.public.jbuilder.java.language References: <3B434ACC.C76F849F@TheKosher.net> <3b43e360$1_1@dnews> Subject: Re: Converting int to string Date: Wed, 4 Jul 2001 21:12:46 -0700 Lines: 14 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 NNTP-Posting-Host: 63.193.228.78 Message-ID: <3b43e91d$1_1@dnews> X-Trace: dnews 994306333 63.193.228.78 (4 Jul 2001 21:12:13 -0700) Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!newsfeed.wirehub.nl!PeerFeed.KWeb.on.ca!dnews