Interesting; calling prefWidth(w) & prefHeight(h) on a Pane does not do a thing, but using setPrefSize(w,h) works fine. Tom