18671868186918701871187218731874187518761877
if (count == 1) { for (Component item : columns.getItems()) { CheckMenuItem ci = (CheckMenuItem) item; if (ci.isChecked()) { ci.disable(); } } } else { for (Component item : columns.getItems()) { item.enable();