newText = textPane.getText();
textPane.setEditable(false);
textPane.getCaret().setVisible(false);
newBounds = new Rectangle(textPane.getBounds());
if (newBounds.height != origHeight)
fw.getField().getBounds().setBounds(newBounds);
// Set text after settings bounds because setting the text triggers
// an update which in turn re-sets the field's bounds, erasing any