DesktopManager value = frame.getDesktopPane().getDesktopManager();
DesktopManager value = null; JDesktopPane pane = frame.getDesktopPane(); if (pane != null) value = frame.getDesktopPane().getDesktopManager();
  protected DesktopManager getDesktopManager()  {    DesktopManager value = frame.getDesktopPane().getDesktopManager();    if (value == null)      value = createDesktopManager();    return value;  }