1. JAVA: how to use listeners on JMenuItem and Jbutton to calculate rates stackoverflow.comI'm writing a currency converter but I'm having a bit of trouble caculating the exchange rate for each currency. basically I want the user to select a currecy first then enter ... |
2. I want to perform some action when a mouse is over JMenuItem. What listener should I use? stackoverflow.comI want to perform some action when a mouse is over JMenuItem. What listener should I use? |
3. What listener should I use? (Java) stackoverflow.comI want a listener that defines if a JMenuItem was selected. Not pressed, but just highlighted. I don't need MouseOver listener, because the selection is supposed to be performed from keyboard. ... |
4. MenuBar & Listener Compile errors coderanch.comHi: Could anyone give me a had with 4 compile errors, please. I think 144 has to do with "{" being out of place but could not find it. I think that 123 errors because I am not extending JFrame but I might be able to do a MyFrame.setJMenuBar..., ? Thanks Capp ======= errors === MyBar.java:144: ';' expected Class MenuListenerClass implements ... |
5. KeyListener in JMenu coderanch.comI have a container with a jframe, a jmenubar with a jmenu added. i have a keylistener added to a jbutton which is added to my container, and it all works. however, i want to add a keylistener to my jmenu, so that when the list pops up, maybe you can hit 'a' to have it jump to the items that ... |
6. JMenu Listener? coderanch.com |
7. Implementing listeners to menu events coderanch.com |
8. keylistener on jmenuitem forums.oracle.comHi, I wonder if anyone can help, I am trying to register a keypressed event on a jmenuitem - what I want to do is if a user presses F1 when they are on a particular menu item, the system will bring up the help for that menu item I have tried addKeyListener but the event never gets invoked I have ... |