Class WindowUtilities.PopupContext

  • Enclosing class:
    WindowUtilities

    public static class WindowUtilities.PopupContext
    extends java.lang.Object
    An object that is used to let the windowing system know when a popup is about to be shown, and when it has hidden.

    Used for Full-Screen Exclusive mode to avoid painting problems

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void endPopup()
      This function should be when a popup window returns.
      void startPopup()
      This function should be called before a popup window is displayed.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • startPopup

        public void startPopup()
        This function should be called before a popup window is displayed. It only does something if fullscreen exclusive mode is enabled. If FSE is enabled, this function disableds double-buffering so that painting works correctly. BE SURE to call endPopup() when the popup returns;
      • endPopup

        public void endPopup()
        This function should be when a popup window returns. It will restore double buffering if startPopup turned it off.