274275276277278279280281282283284
add(tfd); Dimension preferredSize = tfd.getPreferredSize(); tfd.setBounds(lastX,lastY,preferredSize.width,preferredSize.height); tfd.revalidate(); transformer.afterAdded(); revalidate(); }