public void setDividerPercentage(final Class<? extends ComponentProvider> provider1,
			final Class<? extends ComponentProvider> provider2, final float percentage) {

		runSwing(() -> {
			Object splitNode = findSplitNode(provider1, provider2);
			SplitPanel splitPanel = (SplitPanel) getInstanceField("splitPane", splitNode);
			splitPanel.setDividerPosition(percentage);
		});
	}
Crops a part of the current image, keeping what is inside the given bounds. This method
creates a shape such that the top and bottom of the cropped image have a jagged line, looking
somewhat like a sideways lightening bolt.

@param bounds the bounds to keep
@return the snippet
Ghidra/Features/Base/src/main/java/help/screenshot/AbstractScreenShotGenerator.java