Skip to Main Content

Java SE (Java Platform, Standard Edition)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Getting the last clicked menu item

843806Jun 3 2009 — edited Jun 3 2009
Hi everybody,
Does anyone know if there is a method which exists to get the last item selected from a JMenu? For example, if you click on a menu item called "blah", that method would return that item to you? I looked over the Java tutorial about the focus subsystem and I didn't see a method in the javadocs, but I'm hoping I just missed it, does anyone know? If somebody could give me a quick answer, I'd appreciate it.
Thanks,
Jezzica85
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jul 1 2009
Added on Jun 3 2009
3 comments
167 views