I want to display my contacts in a JTree. Contacts can be inside a group and there can be contacts which do not belong to any groups. I want to bring this concept into a JTree. Only JCheckboxes should be there as nodes for selecting; ie; even to the side of a groupname and for every others, it has to be a JCheckbox and not any conventional Jtree nodes. I have zero idea as to how to implement this. Please help.