private void setPicture(ToolIconURL url) {

		boolean isAnimated = url.isAnimated();

		if (isAnimated) {
			setStatusText("Animated Icon not permitted.");
			saveButton.setEnabled(false);
		}
		else {
			clearStatusText();
			saveButton.setEnabled(true);
		}

		iconURL = url;
	}
Set the picture with the icon.
Ghidra/Framework/Project/src/main/java/ghidra/framework/plugintool/dialog/SaveToolConfigDialog.java