<Swing Dev> <AWT Dev> java.awt.AWTKeyStroke.registerSubclass(Class<?> subclass) method usage.
Yuri Nesterenko
yuri.nesterenko at oracle.com
Wed Jul 29 09:30:52 UTC 2015
Alexander,
perhaps you should post this question to i18n-dev as well.
Indeed, I think the only real life code using this
might be some Java IM or similar tool.
Thanks,
-yan
On 07/27/2015 04:48 PM, Alexander Scherbatiy wrote:
>
> Hello,
>
> The class KeyStroke has been added to the javax.swing package first and
> then copied to the java.awt.AWTKeyStroke.
> Most of KeyStroke class methods looks like registering KeyStroke class
> and call to the parent AWTKeyStroke method now.
> That is why the AWTKeyStroke.registerSubclass(Class<?> subclass) method
> was added.
>
>
> It is just a question: does someone use
> AWTKeyStroke.registerSubclass(Class<?> subclass) in their own project?
> Does it brings new benefits comparing just to AWTKeyStroke and Keystroke
> classes usage?
>
> Thanks,
> Alexandr.
>
More information about the swing-dev
mailing list