🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.language
Article #15195

Re: Conversion

#15195
From: flashback
Date: Sun, 04 Jul 1999 00:00
27 lines
1090 bytes
int i = 0;
String dummy = "";

dummy = (new Integer(i)).toString();

Quach Hoa Thanh schrieb:
> 
> I have a variable type integer. How do you convert it to a String so
> that I can display it using
> JOptionPane.ShowMessageDialog(this,(String)integer). IntToStr is the
> funtion that I use in Delphi.
> 
> Thank you all for your help.
> 
> Thanh

regards

gregor
-- 


the best is yet to come...

http://gregor.url4life.com
icq-# 14100227
public key available at pgp.ai.mit.edu
Technical Details
Message-ID: <377F0D14.746F514@netcologne.de>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <375734C1.929A4A33@ns.sympatico.ca>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f74b3,2ba04f02b696d2cb
X-Google-Attributes: gidf74b3,public
From: flashback <flashback@netcologne.de>
Subject: Re: Conversion
Date: 1999/07/04
Message-ID: <377F0D14.746F514@netcologne.de>
X-Deja-AN: 496983914
Content-Transfer-Encoding: 7bit
References: <375734C1.929A4A33@ns.sympatico.ca>
X-Accept-Language: en,de
Content-Type: text/plain; charset=us-ascii
Organization: Another Netscape Collabra Server User
Mime-Version: 1.0
Reply-To: flashback@netcologne.de
Newsgroups: borland.public.jbuilder.java.language