hi, working on a small swing app. has anyone figured out what the default key is used for?

the mnemonics and accelerators worked before i switched to actions.

with actions, apparently both the mnemonic and the accelerator work from everywhere (which is probably ok). but i expected the mnemonic to work only from the menu.

also, seems like input maps only take keystrokes so you need an action map (ok i guess). so the accelerator goes there. but since these things work from everywhere there does not seem to be any need for it.

i originally put an input map and action map into the panel that has my image and toolbar, because i wanted a set of single keystrokes that would operate the gui when that panel or it's children had the focus. but there seems no way or perhaps need for that now. does one go removing them from the parent?

then there is the action command key which apparently relates to a keymap. which is used somewhat in swing.text.

i know the input and action maps replace the register keyboard action, but this is still confusing. seems very non-orthogonal. does anyone have a roadmap?

thanks


--- ray tayek http://tayek.com/ actively seeking mentoring or telecommuting work vice chair orange county java users group http://www.ocjug.org/ hate spam? http://samspade.org/ssw/


_______________________________________________ Juglist mailing list [EMAIL PROTECTED] http://trijug.org/mailman/listinfo/juglist_trijug.org

Reply via email to