File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Swing / AWT / SWT and the fly likes JMenuItems not triggering keyTyped Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "JMenuItems not triggering keyTyped" Watch "JMenuItems not triggering keyTyped" New topic

JMenuItems not triggering keyTyped

Jim Hamrick

Joined: Dec 06, 2004
Posts: 5
The title of my post pretty much sums up my problem...
The JMenuItems are listened to like this (where jm is a JMenu):

The executed code looks like this:

And alas, the lord is never praised . Why not?

This is my simple religion. There is no need for temples; no need for complicated philosophy. Our own brain, our own heart is our temple; the philosophy is kindness.<br />- Dalai Lama
I agree. Here's the link:
subject: JMenuItems not triggering keyTyped
It's not a secret anymore!