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

python - how we can use ajax() in views.py in django? -

matlab - Using loops to get multiple values into a cell -

python - Sequence Pattern recognition with Pybrain -