Applet JMenuItem Mnemonic + Accelerator Keys dont function

From: Marcel van Gellekom (marcelvg_at_gmx.de)
Date: 11/29/03


Date: Sat, 29 Nov 2003 00:16:43 +0100

hi,

im starting new with applets and with my first menu, i seem i cannot
get the menu keys working.
i declare my Applet class "extends Applet implements ActionListener
{.." as i did with my former JFrame class, create my menu as usual and
implement "public void actionPerformed(ActionEvent e) {..".
but no accelerator key seems to work not even the menu pops up so the
mnemonic keys don't work either. i have the bad feeling i have
misunderstood some general difference between an applet window and a
jframe windows .. or i'm missing some other important grasp on
applets.
can anybody help me out plz :).

thx & greetz

marcel



Relevant Pages

  • Applet JMenuItem Mnemonic + Accelerator Keys dont function
    ... i declare my Applet class "extends Applet implements ActionListener ... mnemonic keys don't work either. ... misunderstood some general difference between an applet window and a ...
    (comp.lang.java.gui)
  • Re: Calculator applet questions
    ... it displays both the text box and keys. ... If you don't want the textbox to display, perhaps you shouldn't add it at all. ... Not every applet needs to override every one of these methods. ...
    (comp.lang.java.gui)
  • keylistener problem with applet
    ... I am working on a little applet game. ... The applet reads the keys with ... I develop the Applet on Linux using appletviewer and/or Eclipse ... public void init() { ...
    (comp.lang.java.programmer)
  • keyboard layout
    ... I need to modify the keyboard layout (set up "hot keys") ... on several XP Pro machines. ... or an applet that I can download? ...
    (microsoft.public.windowsxp.general)
  • Re: blackbox slit - where is it?
    ... applet window at a specific location, ... Enterprise Technology Solutions, TD Bank Financial Group ... Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org ...
    (comp.os.linux.misc)