on 01-17-2008 4:16 PM
Hi,
I've developing a .par aplicattion. I need insert different lines into a String, into a DefaultTableViewModel:
Example:
Numer 1
Numer 2
...
I've tried inset this code: "String message = "Number 1 " + "\n" + "Numer 2" + "\n"... but that don't run.
How can I do it?
Hi,
you can use vector for achieving the same.
but i am not clear with your requirement, can u please specify what you mean by I need insert different lines into a String, into a DefaultTableViewModel I hope that will help us in understading your requirement
regards
Mrudula
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
Declare a String Buffer and append the data to the buffer.
StringBuffer buff = new StringBuffer();
buff.append("data");
buff.append("\n");
buff.append("mode data");
String str = buff.toString();
Try this.
cheers
Deepu
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
88 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.