Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4109607

Need native grab for Swing Menus

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Duplicate
    • Icon: P4 P4
    • None
    • 1.0.1, 1.0.2, 1.1.5, 1.1.6, 1.2.0
    • client-libs
    • generic, x86, sparc
    • generic, solaris_2.5.1, solaris_2.6, windows_nt

      Problem:
      ========
         Everyone knows how to pop down (cancel) a menu. You just click anywhere
      outside the menu, and it goes away, right? Not so with Swing menus, unfortunately.
      Currently Swing menus only pop down if you click outside the menu but inside the
      JFrame parent of the popup menu. This is because the AWT does not provide a way
      to observe mouse events outside the java application's windows, leaving us no
      way to find out (at the java level) that the user has clicked elsewhere on the
      desktop. As a result, swing applications feel 'different' from native apps.
      This is a BadThing(tm).

            rraysunw Richard Ray (Inactive)
            gsaab Georges Saab
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: