code: public static DCWindow getAnyWindow() {
          for (final WeakReference<DCWindowContext> ref : _allWindowContexts) {
              final DCWindowContext windowContext = ref.get();
              if (windowContext != null) {
                  final List<DCWindow> windows = windowContext.getWindows();
                  for (final DCWindow window : windows) {
                      if (window != null) {
                          return window;
                      }
                  }
              }
          }
          return null;
      }
docs: Helper method to get any window of the application. This can be
  convenient if eg. displaying {@link JOptionPane}s from arbitrary places
  in the code.
  
  @return