static A jFixedSize(int w, int h default w, A c) {
if (c != null) swing {
Dimension d = new Dimension(w, h);
c.setMinimumSize(d);
c.setPreferredSize(d);
c.setMaximumSize(d);
}
ret c;
}
static A jFixedSize(A c, Dimension d) {
ret jFixedSize(d.width, d.height, c);
}