Thanks to all, after thinking much about the exercise, I have found two ways to solve it, one is by means of an Array and the other by means of string.
> Date: Tue, 24 Feb 2009 09:33:28 -0800 > Subject: [java programming] Re: Please need help 1011 > From: [email protected] > To: [email protected] > > > it seems like you want the whole string, so try this > > String Name = nombre[i]; > > > 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/ > > > _________________________________________________________________ Llévate Messenger en tu móvil allá donde vayas ¿A qué esperas? http://serviciosmoviles.es.msn.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 -~----------~----~----~----~------~----~------~--~---
