static int getWidth(Component c) { ret c == null ? 0 : (int) swingCall(c, 'getWidth); }