@Test
	public void testDropdownLocationOnParentMove() {

		// insert some text and make sure the window is created
		typeText("d", true);

		JWindow matchingWindow = textField.getActiveMatchingWindow();
		Point location = runSwing(() -> matchingWindow.getLocationOnScreen());
		Point frameLocation = parentFrame.getLocationOnScreen();
		Point p = new Point(frameLocation.x + 100, frameLocation.y + 100);
		runSwing(() -> parentFrame.setLocation(p));
		waitForSwing();

		JWindow currentMatchingWindow = textField.getActiveMatchingWindow();
		Point newLocation = runSwing(() -> currentMatchingWindow.getLocationOnScreen());
		assertNotEquals("The completion window's location did not update when its parent window " +
			"was moved.", location, newLocation);
	}
This test achieves partial coverage of {@link DropDownTextField}.  Further coverage is
provided by {@link DropDownSelectionTextFieldTest}, as that test enables item selection 
in the widget being tested.
Ghidra/Framework/Docking/src/test/java/docking/widgets/DropDownTextFieldTest.java