| Author |
urgent~~howto display text in jTextArea
|
Alvin chew
Ranch Hand
Joined: Jan 08, 2004
Posts: 834
|
|
hi, i wanna to display 2 or more strings on jTextArea in different line , i hv try using insert(), it seem not working, coz it will only display in a line and overwrite each other ie: 2 strings - string1 = "i am a boy" - String = "i am a girl" expected output code: -------------------------------------------------------------------------------- i am a boyi am a girl -------------------------------------------------------------------------------- what i have done is code: -------------------------------------------------------------------------------- ii am a girl am a boy -------------------------------------------------------------------------------- --------------------------------------------------------------------------------
|
 |
Alvin chew
Ranch Hand
Joined: Jan 08, 2004
Posts: 834
|
|
|
solved by append()..tq
|
 |
 |
|
|
subject: urgent~~howto display text in jTextArea
|
|
|