static void dm_setBounds(O module, int x, int y, int w, int h) { O stem = dm_getStem(module); if (stem == null) ret; Component vis = cast call(stem, 'vis); JInternalFrame f = getInternalFrame(vis); if (f != null) setBounds(f, x, y, w, h); else set(stem, frameRect := quickExport(Rect(x, y, w, h), stem); // TODO: should flush } static void dm_setBounds(int x, int y, int w, int h) { dm_setBounds(dm_current_generic(), x, y, w, h); } static void dm_setBounds(O module, Rect r) { if (r != null) dm_setBounds(module, r.x, r.y, r.w, r.h); }