8687888990919293949596
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();
261262263264265266267268269270271
if (columnModel.getVisibleColumnCount() == 1) { for (Component item : columnMenu.getItems()) { CheckMenuItem ci = (CheckMenuItem) item; if (ci.isChecked()) { ci.disable(); } } } }
21042105210621072108210921102111211221132114
21132114211521162117211821192120212121222123
20742075207620772078207920802081208220832084
17061707170817091710171117121713171417151716
if (count == 1) { for (Item item : columns.getItems()) { CheckMenuItem ci = (CheckMenuItem) item; if (ci.isChecked()) { ci.disable(); } } } else { for (Item item : columns.getItems()) { item.enable();
256257258259260261262263264265266
if (columnModel.getVisibleColumnCount() == 1) { for (Item item : columnMenu.getItems()) { CheckMenuItem ci = (CheckMenuItem) item; if (ci.isChecked()) { ci.disable(); } } } }
255256257258259260261262263264265