Re: KeyListener CMD+W
Posted by dscho on
URL: http://imagej.273.s1.nabble.com/KeyListener-CMD-W-tp3690923p3690925.html
Hi,
On Mon, 5 Oct 2009, Johannes Schindelin wrote:
> On Mon, 5 Oct 2009, Alexander Haid wrote:
>
> > I am programming my own plugin in java. I am using a JDialog window to
> > display all the buttons, etc.
>
> [... some code we have in Fiji...]
FWIW this code _only_ works with Swing containers. Just in case anybody
thought of using this in AWT dialogs: it does not work, as there is no
input or action map in AWT containers.
Ciao,
Dscho