private void copyColumns(int... copyColumns) {

		//
		// We have to change the column model's selection settings to ensure that the copy works
		// correctly.  For example, if the model only allows single column selection, then we have
		// to change that to allow for multiple column selection.  We will put the original state
		// back when finished.
		//
		ColumnSelectionState originalState = ColumnSelectionState.copy(this);
		ColumnSelectionState newState = ColumnSelectionState.withColumns(this, copyColumns);
		newState.apply();

		copying = true;
		try {
			Action builtinCopyAction = TransferHandler.getCopyAction();
			builtinCopyAction.actionPerformed(new ActionEvent(GTable.this, 0, "copy"));
		}
		finally {
			copying = false;
			originalState.apply(); // put back column model's original selection state
		}
	}
A method that subclasses can override to signal that they wish not to have this table's
built-in popup actions.   Subclasses will almost never need to override this method.

@return true if popup actions are supported
Ghidra/Framework/Docking/src/main/java/docking/widgets/table/GTable.java