@RunsInCurrentThread
 private static Pair<Container, Point> findMaximizeLocation(JInternalFrame internalFrame) {
   Container clickTarget = internalFrame.isIcon() ? internalFrame.getDesktopIcon() : internalFrame;
   Point location = maximizeLocationOf(clickTarget);
   return new Pair<Container, Point>(clickTarget, location);
 }
 @RunsInCurrentThread
 private static void validateIsShowingOrIconified(JInternalFrame internalFrame) {
   if (!internalFrame.isIcon()) validateIsShowing(internalFrame);
 }