I found one way to make 'global hotkeys' (its a bit verbose though): http://groups.google.com/group/clojure/web/global-hotkey.clj adapted from http://www.javaspecialists.eu/archive/Issue007.html Just mentioning it for interest seeing key controls in swing has been driving me nuts :P
Regards, Tim. On Mar 18, 12:03 am, Timothy Pratley <timothyprat...@gmail.com> wrote: > I have another question! I've found your article very interesting. I > really like how you have buttons and keybindings to the same > AbstractAction. However when I run your app if I press ctrl-x while in > a textbox nothing happens... If I'm not in a textbox it exits. I > believe this is because the textboxes have DocumentListeners which > swallow the ctrl-x. What would be the best way to overcome this > limitation? > > Regards, > Tim. > > On Mar 17, 2:44 pm, Keith Bennett <keithrbenn...@gmail.com> wrote: > > > All - > > > I am a relative newcomer to Clojure, but have been really enjoying > > learning and using it. > > > I've published an article on my blog athttp://snipurl.com/dyxz7. > > It's about some of my impressions of Clojure based on my studies and > > porting of a Swing app to Clojure (a previous article discussed a > > JRuby port of it). It's kind of intended for newcomers to Clojure from > > the more conventional languages. > > > If any of you could check it for accuracy I would appreciate it. Of > > course, feel free to comment on it too. > > > Thanks, > > Keith Bennett --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en -~----------~----~----~----~------~----~------~--~---