java - How can I split the data over multiple lines in a JTextArea? -


How can I place each line of the host in the message body? I work with a JTextArea .

  string host = InetAddress.getLocalHost (). GetHostName (). ToString (); Texto_recepcion.setText (host + textro_recpsyngate.text) (+) DPRECPCON.Attress (+ + "+ + + mnsjccbdo +" \ n ");   

How is it now:

Enter image details </ P> </ div> <p> <div class =

I resolve my work with the attached work.

 < Code> string host = InetAddress.getLocalHost (). GetHostName () .ToString (); texto_recepcion.append (host); // *** Use function append to solve the problem *** texto_recepcion.setText (texto_recepcion .getText () + dpRecepcion.getAddress () + "" + mensaje_recibido + "\ n");   

Thanks a lot

Comments

Popular posts from this blog

c - Mpirun hangs when mpi send and recieve is put in a loop -

python - Apply coupon to a customer's subscription based on non-stripe related actions on the site -

java - Unable to get JDBC connection in Spring application to MySQL -