Re: [josm-dev] [Fwd: Re: Register for keys/shortcuts]

2010-05-31 Thread Matthias Meißer
Thx to Sebastian my problem is solved. My JOSM was out of date :( Matthias ___ josm-dev mailing list josm-dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/josm-dev

Re: [josm-dev] [Fwd: Re: Register for keys/shortcuts]

2010-05-31 Thread Matthias Meißer
Hi Sebastian, yes my SVN is up to date. Could you have a look in PositionLayer.java, please? My aim is to get the controls to control my video in main window. of course I will add menu entries but they can't register for keys like cursor keys, right? Matthias _

Re: [josm-dev] [Fwd: Re: Register for keys/shortcuts]

2010-05-31 Thread Sebastian Klein
Matthias Meißer wrote: > Hi Sebastian, > > no sry missed your mail. > > Your code doesn't work cause in Main (and in every published method) is > no possibility to >> .registerActionShortcut(a, KeyStroke.getKeyStroke(KeyEvent.VK_SPACE, >> 0)); > > Damn > I didn't expected that such an easy

Re: [josm-dev] Register for keys/shortcuts

2010-05-31 Thread Dirk Stöcker
On Sun, 30 May 2010, Matthias Meißer wrote: no sry missed your mail. Your code doesn't work cause in Main (and in every published method) is no possibility to .registerActionShortcut(a, KeyStroke.getKeyStroke(KeyEvent.VK_SPACE, 0)); Damn I didn't expected that such an easy thing would ma

Re: [josm-dev] [Fwd: Re: Register for keys/shortcuts]

2010-05-31 Thread Matthias Meißer
Hi Sebastian, no sry missed your mail. Your code doesn't work cause in Main (and in every published method) is no possibility to > .registerActionShortcut(a, KeyStroke.getKeyStroke(KeyEvent.VK_SPACE, > 0)); Damn I didn't expected that such an easy thing would make so much trouble :( Matthi