protected boolean shouldShowCellFocusIndicator( JTable table ) {
			boolean rowSelectionAllowed = table.getRowSelectionAllowed();
			boolean columnSelectionAllowed = table.getColumnSelectionAllowed();

			// do not show for cell selection mode
			// (unlikely that user wants edit cell in case that multiple cells are selected;
			// if only a single cell is selected then it is clear where the focus is)
			if( rowSelectionAllowed && columnSelectionAllowed )
				return false;

			if( rowSelectionAllowed ) {
				// row selection mode

				// do not show if more than one row is selected
				// (unlikely that user wants edit cell in this case)
				if( table.getSelectedRowCount() != 1 )
					return false;

				// show always if there are too many columns to check for editable
				int columnCount = table.getColumnCount();
				if( columnCount > maxCheckCellsEditable )
					return true;

				// check whether at least one selected cell is editable
				int selectedRow = table.getSelectedRow();
				for( int column = 0; column < columnCount; column++ ) {
					if( table.isCellEditable( selectedRow, column ) )
						return true;
				}
			} else if( columnSelectionAllowed ) {
				// column selection mode

				// do not show if more than one column is selected
				// (unlikely that user wants edit cell in this case)
				if( table.getSelectedColumnCount() != 1 )
					return false;

				// show always if there are too many rows to check for editable
				int rowCount = table.getRowCount();
				if( rowCount > maxCheckCellsEditable )
					return true;

				// check whether at least one selected cell is editable
				int selectedColumn = table.getSelectedColumn();
				for( int row = 0; row < rowCount; row++ ) {
					if( table.isCellEditable( row, selectedColumn ) )
						return true;
				}
			}

			return false;
		}
Returns whether focus indicator border should be shown.

@since 3.1
flatlaf-core/src/main/java/com/formdev/flatlaf/ui/FlatTableCellBorder.java