static A packInternalFrameVertically(A c) {
ret packInternalFrameVertically(-1, c);
}
static A packInternalFrameVertically(int width, A c) {
final JInternalFrame win = getInternalFrame(c);
if (win == null) ret c;
final int w = width < 0 ? win.getWidth() : width;
swing {
win.pack();
win.setSize(w, win.getHeight());
fixInternalFrame(win);
}
ret c;
}