public TextBoxComponent[] getTextBoxes() {
		int n = getNumberOfInstances(TextBoxComponent.class);
		TextBoxComponent[] t = new TextBoxComponent[n];
		n = 0;
		synchronized (layerBasket) {
			for (Layered c : layerBasket) {
				if (c instanceof TextBoxComponent)
					t[n++] = (TextBoxComponent) c;
			}
		}
		return t;
	}