Applet JMenuItem Mnemonic + Accelerator Keys dont function
From: Marcel van Gellekom (marcelvg_at_gmx.de)
Date: 11/28/03
- Next message: Chris Smith: "Re: a simple java timer"
- Previous message: Jimbob: "best way to use an icon with paint()"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 28 Nov 2003 07:53:01 -0800
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
- Next message: Chris Smith: "Re: a simple java timer"
- Previous message: Jimbob: "best way to use an icon with paint()"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|