sorry i should have read more carefully - try this
String Name = "";
for (int i=0;i<nombre.length;i++)
{
Name += nombre[i];
System.out.print(Name);
}
JOptionPane.showMessageDialog(null,Name );
On Feb 24, 12:18 pm, el mio uno y dos <[email protected]> wrote:
> Sorry, edit the mesage. I do a array char for a new values, but i dont know
> how i can take all values of a array char and show in a only 1 dialog box.
> In red color is edited. Thank you.
>
> From: [email protected]
> To: [email protected]
> Subject: [java programming] FW: Please need help 1011
> Date: Tue, 24 Feb 2009 17:57:22 +0100
>
> Hello, My name is Alex from Spain, sorry for my bad english.
> I need help, please. I do this:
>
> public static void generateNewName(String[]nombre)
> {
>
> for (int i=0;i<nombre.length;i++)
> {
>
> char[] Name = {nombre[i].charAt(1);
>
> System.out.print(Name);
>
> // JOptionPane.showMessageDialog(null,Name );
>
> }
> }}
>
> but when i try show it in dialog box, the problem is that show 3 dialog box
> whit 1 char, and i want only 1 dialog box whit the three char. Can i do a
> only 1 dialog box whit the three char?. if it can do it, some people can tell
> me something to how can do? Thank to every people.
>
> El doble de diversión: Con Windows Live Messenger comparte fotos mientras
> hablas.
>
> Actualízate, descubre el nuevo Windows Live Messenger. ¡Descárgatelo ya!
>
> _________________________________________________________________
> Consigue gratis el nuevo Messenger. ¡Descárgatelo!http://download.live.com/
--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/javaprogrammingwithpassion?hl=en
-~----------~----~----~----~------~----~------~--~---