sounds like a good idea but I too haven't had a chance to actually play with it and comment on the implementation.
-kate

On Saturday, May 17, 2003, at 03:07  AM, Wolf Paulus wrote:

While preparing beta 4, I'd like to hear some opinions about Eric's
contribution.
To be honest. I had so much other stuff to work on, I did not have a chance
to look at it at all.


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of
[EMAIL PROTECTED]
Sent: Monday, May 12, 2003 5:51 AM
To: [email protected]
Subject: [Forum] RE: KeyStroke Converter


Hi all,

If you want the accelerator property for menuitems to be internalizable,
here is the update Parser class.

Enjoy
Eric Lafargue

 <<Parser.java>>

 -----Original Message-----
From:   LAFARGUE Eric (RTD)
Sent:   lundi 12 mai 2003 14:37
To:     [email protected]
Subject:        KeyStroke Converter

Hi all,

Here is KeyStrokeConverter to allow you to add an accelerator to a
menuitem.

In you xml descriptor, you can add an accelerator to a menuitem
as follows

      <menuitem name="mi_new" text="mis_New" mnemonic="mis_New_VK"
accelerator="control N" ActionCommand="new"/>

The string that can be used for the accelerator is described in the
javax.swing.KeyStroke javadoc.

Please find enclosed the KeyStrokeConverter and the updated
ConverterLibrary.

Enjoy,
Eric Lafargue

<< File: KeyStrokeConverter.java >> << File: ConverterLibrary.java >>








_______________________________________________
Forum mailing list
[email protected]
http://mars.lunarpages.com/mailman/listinfo/forum_carlsbadcubes.com



Reply via email to