In my application I have a menu bar and a tool bar that use short-cut keys (CTRL-X, CTRL-B, ...). I'm using setEnabled(true/false) on my JFrame window to enable/disable mouse input. I've also looked at using a glass pane to intercept the mouse events but this seems like more code. Is there an equivalent for the keyboard input (short-cut keys) that will enable/disable all the short-cuts?
OCP Java SE 6 Programmer | OCM Java SE 6 Developer | OCE Web Components (OCEWD) | OCE JPA 6 (OCEJPAD) | OCE EJB 6 (OCEBCD) | OCE Web Services (OCEWSD) | OCM Java 6 Enterprise Architect(OCMEA)
MySQL Certified Administrator & Developer,
OMG Certified UML Prof. Fund., Int., Adv.