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: Roman Kennke
Subject: Re: [cp-patches] FYI: Reworked Swing FocusManager
Date: Thu, 07 Jul 2005 16:14:23 +0200
User-agent: Mozilla Thunderbird 1.0.2 (X11/20050317)

Hi Robert,

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.
Unfortunatly I have no clue about Texinfo. I've looked into the sourcefile, but I am completely confused by the @node tag. Could you or anybody else provide me a short how-to?

/Roman





reply via email to

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