public JTreeNode<T> convertToLinkList(){

		JTreeNode<T> left = convertList(rootNode.getLeftNode(), true);

		while(left.getLeftNode()!=null){

			left = left.getLeftNode();
		}

		JTreeNode<T> farLeft = left;
		if(farLeft!=null){

			while(farLeft.getRightNode()!=null){
				farLeft = farLeft.getRightNode();
			}
			farLeft.setRightNode(rootNode);
		}

		JTreeNode<T> right = convertList(rootNode.getRightNode(), false);

		if(right!=null) {
			while (right.getLeftNode() != null) {

				right = right.getLeftNode();
			}
			rootNode.setRightNode(right);
		}

		return (left!=null ? left : rootNode);
}