Use check boxes in a Swing JTree.