Hi there:
I believe I've discovered a bug with the JComponent class. I
created a bean that extends JComponent making use of the
method registerKeyboardAction(ActionListener anAction, String aCommand,
KeyStroke aKeyStroke, int aCondition).
When I made use of my bean in an application the keystokes that I
registered using this method certainly worked fine, but then
today I decided to use my bean in an applet. Suddenly the keystokes
that I registered aren't working. I can't figure out why that
is...or how to work around this problem?
Here's the function in my bean that gets called when the bean first
becomes initialized:
Like I said, I don't see anything wrong with it. It certainly works when
used in an application. If you have had similar problem and
know of a workaround, please let me know.