classpath-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cp-patches] FYI: Reworked Swing FocusManager


From: Robert Schuster
Subject: Re: [cp-patches] FYI: Reworked Swing FocusManager
Date: Thu, 07 Jul 2005 15:47:53 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; de-AT; rv:1.7.8) Gecko/20050514

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Roman,

> In order to achieve this we actually have to use the Swing FocusManager
> in AWT instead of the DefaultKeyboardFocusManager
> (javax.swing.FocusManager is a subclass of the
> DefaultKeyboardFocusManager). In order to not add dependencies into
> Swing in AWT, I created a subclass of javax.swing.FocusManager in
> gnu.java.awt (no, we cannot use FocusManager directly because it is
> abstract - thanks to the great design of the JDK), and let the
> KeyboardManager create its instance of the FocusManager based on the
> value of the new system property gnu.java.awt.FocusManager. So at least
> I did not have to hardcode the Swing dependency. And in case a VM vendor
> does not need/want Swing, this is easily changed to
> java.awt.DefaultFocusManager.
Please add this information to the VM Integration guide.

cu
Robert
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFCzTKJG9cfwmwwEtoRAp3wAJ9OM2fCsI1q97oc522Ki+uEVcuV4wCffnDu
SV8A2ofA6fsp/vXLXHvxJ0Y=
=zxSF
-----END PGP SIGNATURE-----




reply via email to

[Prev in Thread] Current Thread [Next in Thread]