[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.platform.swt] Re: Unable to dispose TableColumn

Thank you, that resolved my problem... But i just want to know how reversing the order of the loop works??
Your code had some errors.... So i am rewriting it for others to get a easy answer:
System.out.println("before dispose" + table.getColumnCount());
for(int i = table.getColumnCount() -1; i >= 0; i--)
{
//tc[i].dispose();
table.getColumn(i).dispose();
}
System.out.println("after dispose " + table.getColumnCount());


Of course thanks again for providing the soln...and thanks from all those who faced the same problem.