🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.swing
Article #13211

Help, HotKey of jMenu/jMenuItem

#13211
From: Weimin Wu
Date: Fri, 04 Sep 1998 00:00
17 lines
1006 bytes
Hi,

I am trying to add a menu to a java application with JBuilder2 c/s. I
selected jMenuBar
using the swing tab, then insert a menu. When I tried to set a
Hotkey(for example,
if the menu lable is File I want to set F is the Hotkey) for the menu, I
cannot find a
property for the setting. Should I try setAccelerator method? If so, how
to set the
keyStroke?

Is anybody there knows how to set the Hot Key in a jMenu/jMenuItem, you
please
answer this question, thanks in advance.

wu
Technical Details
Message-ID: <35F082CA.813B9B0F@784.hypermart.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 111d45,6ffec20906a6e122,start
X-Google-Attributes: gid111d45,public
From: Weimin Wu <webmaster@784.hypermart.com>
Subject: Help, HotKey of jMenu/jMenuItem
Date: 1998/09/04
Message-ID: <35F082CA.813B9B0F@784.hypermart.com>
X-Deja-AN: 387987559
Content-Transfer-Encoding: 7bit
Organization: Another Netscape Collabra Server User
Content-Type: text/plain; charset=us-ascii
Mime-Version: 1.0
Newsgroups: borland.public.jbuilder.java.swing