override display appearance of accelerator keys in JMenuItems in Java/Swing -


I have noticed that some uses the word "space" on the Mac, to indicate that space bar key binding is . A symbol is used on another mac (a small capital looks like u). I like the "space" presentation because it is more transparent for users. What is the method to override the ALF graphically indicating the accelerator key?

You can subclass the <> BasicMenuItemUI and Paint MENUItem () Override the method. There you can draw your own accelerator. I would love an animated image as an Accelerator :)

( Note If you just want to change mneonic or accelerator Directly setAccelerator () or other set methods. But I'm assuming that this is not the case.)


Comments

Popular posts from this blog

sql - dynamically varied number of conditions in the 'where' statement using LINQ -

asp.net mvc - Dynamically Generated Ajax.BeginForm -

Debug on symbian -