[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
|
[news.eclipse.tools] Getting text of TableItem
|
Hi,
I have a Table with several columns, and i've added a TableItem to it. I
set the TableItem text using getText(String[] content) in order to have the
text devided to the table's columns. Now i wanna get the TableItem's text
but here i face the problem - calling TableItem.getText() returns only the
first string of the first column and not all of them! I check with the
debugger and this is what happens.
Example (case i wasn't clear enough) -
TableItem item = new TableItem(...);
String[] content = {"1", "2", "3");
item.setText(content);
String text = item.getText();
System.out.println(text);
---------
the line that is printed is:
1
---------
How do i get the whole text ("1 2 3") ?
Thanks.
__________________________________________________________________
ICQ#: 81309797 Current ICQ status: + More ways to contact me
__________________________________________________________________