main frame

work in Jtree