Hi, Everybody.
I think I didn't provide you with any version of "my" JLF.grabFocus()
yet, so here it is:
public interface sun.awt.FocusGrabbable {
void grabFocus();
void ungrabFocus(boolean postEvent);
}
I support Anthony here. This solution will simplify the fix and won't
lead to adding of public methods in our peers.
As you can see, these are very much the same grab/ungrabFocus()
methods that you have in your current fix. I suggest to implement this
interface in the JLightweightFrame class only, since this is where
they are really needed, and their implementation is entirely different
from others (including the LightweightFrame, which in the end does the
same thing as e.g. Frame, currently).
--
Best regards, Sergey.