<AWT Dev> RFC: KeyboardFocusManager patch

Roman Kennke roman.kennke at aicas.com
Thu Jun 21 02:26:03 PDT 2007

Following up on my question yesterday, here's a small fix for the
KeyboardFocusManagerPeer creation. It doesn't affect functionality in
OpenJDK, but it allows outside code to provide a
KeyboardFocusManagerPeer by implementing the appropriate interface. I
also implemented a dummy peer which does nothing at all. This avoids a
NPE for toolkits that don't implement KeyboardFocusManagerPeerProvider
but doesn't nothing useful for itself.

I implemented this as part of my work at the aicas GmbH, so this code is
copyrighted by aicas. aicas already signed the SCA.

Comments? I hope this can go into the tree.


Dipl.-Inform. (FH) Roman Kennke, Software Engineer, http://kennke.org
aicas Allerton Interworks Computer Automated Systems GmbH
Haid-und-Neu-Straße 18 * D-76131 Karlsruhe * Germany
http://www.aicas.com   * Tel: +49-721-663 968-0
USt-Id: DE216375633, Handelsregister HRB 109481, AG Karlsruhe
Geschäftsführer: Dr. James J. Hunt
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch.diff
Type: text/x-patch
Size: 7585 bytes
Desc: not available
Url : http://mail.openjdk.java.net/pipermail/awt-dev/attachments/20070621/5cebfdcb/patch.diff 

More information about the awt-dev mailing list