1.1 api compatibility

Peter C. Mehlitz peter at transvirtual.com
Fri Aug 7 11:17:32 PDT 1998


On Thu, 06 Aug 1998, Bart Locanthi wrote:
>..function getFocusOwner() not found in class java.awt.Window
..

That was indeed missing. Can be implemented like this:

Component getFocusOwner () {
  return (this == AWTEvent.activeWindow) ? AWTEvent.keyTgt : null;
}

-- Peter


More information about the kaffe mailing list