It sounds like a valuable addition requiring minor changes to present
code. The changes required are small on the side of swixml and user code
(both xml and java (there you don't have to change anything)).
The second mail of Eric concerning the internationalization of
accelerators is IMHO a matter of taste: either you like the definition
of *all* things visible to the user in property files or not. E.g. if
you use the modified parser class as mentioned in erics second mail, you
are able to write this:
<menuitem ...accelerator="ExitItem.accelerator"> and within the resource
bundle "ExitItem.accelerator=F3". Without the modified parser, you have
to write it like this: <menuitem ...accelerator="F3">. Both solutions
are working very well, but someone may not like the direct definition of
keys in their xml-files, as myself :).
To sum it up, I think the code of Eric is very useful. If you want to
have keystrokes in your application, this is the way you get them.
Yours,
Frank
PS: Wolf, I noticed Eric used a version a bit older than the last beta.
If you like, I send you the changes I made to the (nearly) current sources
Frank Mei�ner wrote:
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.
Very much the same with me. I currently do not use shortcuts in my main
application, so there was no need for this. This may change, though. And
it sounds like a solution for a problem I fought with some time ago:
mnemonics for different languages.
But it would help if someone reports using this succesful. Maybe I
investigate it this week.
Frank
_______________________________________________
Forum mailing list
[email protected]
http://mars.lunarpages.com/mailman/listinfo/forum_carlsbadcubes.com