static Window addToWindowAndPack(Component c, Component toAdd) { addToWindow(c, toAdd); packFrame(c); ret getWindow(c); }