• Post Reply Bookmark Topic Watch Topic
  • New Topic

JMenu

 
joey phillip
Ranch Hand
Posts: 40
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have two JComboBoxes (origin,destination) and JMenus for search and book. I created Accelerator for search and book.
This works fine when i select origin, destination airport and then press ctrl+S(search). But when i type destination airport (instead of selecting from JCombobox) and press ctrl+S , it doesn't invoke the search action.

Can some one explain me what is wrong with my code.
Thanks
joey
 
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!