void (Integer countValue) { String oldCountValue = myCountValue; myCountValue = countValue == null || countValue <= 0 ? null : countValue.toString(); if (myTree != null && !StringUtil.equals(oldCountValue, myCountValue)) { myTree.repaint(); } }