removed preferred size of the jtree component, because scrollpane was not behaving properly.