- setFrame(frame, title, w, h);
-
- // Headless operation has no Desktop instance, only the static class.
-
- if (getInstance() != null)
- getInstance().addFrame(frame, Desktop.FRAME_MAKE_VISIBLE,
+ addInternalFrame(frame, title, Desktop.FRAME_MAKE_VISIBLE, w, h,