in an application i hv 1 java tree which i m expanding and accessing each item 1 by 1. but it takes root as a first item by default and items are displayed as root;item1;item2

Also sometimes it takes value as root and sometimes as #0

Whatz the reason behind this?
n should i suppose to do something else?