private static JCheckBox configureCheckBox(JCheckBox checkBox){
  checkBox.setHorizontalAlignment(JCheckBox.LEFT);
  checkBox.setFont(UIManager.getFont("Tree.font"));
  checkBox.setBorderPainted(false);
  checkBox.setFocusPainted(false);
  checkBox.setFocusable(false);
  checkBox.setOpaque(false);
  return checkBox;
}

private static JCheckBox configureCheckBox ( JCheckBox checkBox ) { checkBox . setHorizontalAlignment ( JCheckBox . LEFT ) ; checkBox . setFont ( UIManager . getFont ( "Tree.font" ) ) ; checkBox . setBorderPainted ( false ) ; checkBox . setFocusPainted ( false ) ; checkBox . setFocusable ( false ) ; checkBox . setOpaque ( false ) ; return checkBox ; }
configures a checkbox with the properties of tree cell renderes .
