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

Need Frame-level focus notification added to AWT

XMLWordPrintable

    • 1.1beta3
    • sparc
    • solaris_2.4
    • Not verified

      At Tom Ball's recommendation, I'm submitting this as an RFE.

      To do hotlists and other sorts of shared palettes properly, I need an Event that's guaranteed to be delivered to any Frame that contains a Component that receives the focus. So clicking in an applet's TextField, for instance, will deliver a GOT_FOCUS to the TextField, and also deliver something like a FRAME_GOT_FOCUS to its Frame.

      The motivation is that I want to be able to have shared palette windows that apply their operations to the 'current' window. So when the user clicks on a URL in a hotlist window, for instance, the hotlist can open that URL in the browser window the user's got active. This frees us from having to associate a hotlist or other palette with each application frame.

      Tom claims the cost of implementing this is small, and the payoff for app writers is potentially huge.

            amfowler Anne Fowler (Inactive)
            duke J. Duke
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: