private void visibleCheckBoxAction(ActionEvent e) { boolean visible = visibleCheckBox.isSelected(); if (visible != objEntityViewField.getVisible()) { objEntityViewField.setVisible(visible); } }