static A setSizeToPreferredSize(A a) { ret setSize(a, preferredWidth(a), preferredHeight(a)); }