Re: [vassalengine-devel] Open issues for v3.0
Brought to you by:
rodneykinney,
uckelman
From: Joel U. <uck...@no...> - 2007-07-29 19:31:27
|
Thus spake "Rodney Kinney": > > > If someone who runs VASSAL from a terminal gets a chance, it would be > > nice to find out why I get a spew of output to my terminal on triggering > > CTRL+SHIFT+F1 in my TLD module. Could be indicative of a bug. > > > I found it. Check this little nugget from java.awt.Window: > > /** > * Implements a debugging hook -- checks to see if > * the user has typed <i>control-shift-F1</i>. If so, > * the list of child windows is dumped to <code>System.out</code>. > * @param e the keyboard event > */ > void preProcessKeyEvent(KeyEvent e) { > // Dump the list of child windows to System.out. > if (e.isActionKey() && e.getKeyCode() == KeyEvent.VK_F1 && > e.isControlDown() && e.isShiftDown() && > e.getID() == KeyEvent.KEY_PRESSED) { > list(System.out, 0); > } > } > > !!! > > rk How'd you find that, BTW? -- J. |