@Override
			public void componentResized(java.awt.event.ComponentEvent e) {
				Dimension preferredSize = layeredPane.getSize();
				Insets insets = layeredPane.getInsets();
				int x = insets.left;
				int y = insets.top;
				int width = preferredSize.width - insets.right - x;
				int height = preferredSize.height - (insets.top + insets.bottom);
				textField.setBounds(x, y, width, height);
			}
Constructs this text field with the given component and the preferred visible column
width.  <code>component</code> may be null, but then this field will be able to flash in
response to focus events (see the header documentation).
@param component The component needed to listen for focus changes, may be null.
@param columns The number of preferred visible columns (see JTextField)
Ghidra/Framework/Docking/src/main/java/docking/widgets/filter/FilterTextField.java