private void setColumnSizes(boolean lock) {

		boolean resizable = !lock;
		TableColumn column = table.getColumn(MemoryMapModel.READ_COL);
		int width = 25;
		int maxWidth = resizable ? Integer.MAX_VALUE : width;
		if (column != null) {
			column.setMaxWidth(maxWidth);
			column.setMinWidth(width);
			column.setResizable(resizable);
		}

		column = table.getColumn(MemoryMapModel.WRITE_COL);
		if (column != null) {
			column.setMaxWidth(maxWidth);
			column.setMinWidth(width);
			column.setResizable(resizable);
		}

		column = table.getColumn(MemoryMapModel.EXECUTE_COL);
		if (column != null) {
			column.setMaxWidth(maxWidth);
			column.setMinWidth(width);
			column.setResizable(resizable);
		}

		column = table.getColumn(MemoryMapModel.VOLATILE_COL);
		width = 65;
		maxWidth = resizable ? Integer.MAX_VALUE : width;
		if (column != null) {
			column.setMaxWidth(maxWidth);
			column.setMinWidth(width);
			column.setResizable(resizable);
		}

		column = table.getColumn(MemoryMapModel.ARTIFICIAL_COL);
		if (column != null) {
			column.setMaxWidth(maxWidth);
			column.setMinWidth(width);
			column.setResizable(resizable);
		}

		column = table.getColumn(MemoryMapModel.BLOCK_TYPE_COL);
		width = 25;
		maxWidth = resizable ? Integer.MAX_VALUE : width;
		if (column != null) {
			column.setMinWidth(width);
		}

		column = table.getColumn(MemoryMapModel.INIT_COL);
		if (column != null) {
			column.setMaxWidth(maxWidth);
			column.setMinWidth(width);
			column.setResizable(resizable);
		}

	}
Update the memory map with the new program's memory
Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/memory/MemoryMapProvider.java