net.sourceforge.jaulp.swing.menu
Class MenuUtils

java.lang.Object
  extended by net.sourceforge.jaulp.swing.menu.MenuUtils

public final class MenuUtils
extends java.lang.Object

The Class MenuUtils.


Constructor Summary
MenuUtils()
           
 
Method Summary
static void setCtrlAccelerator(javax.swing.JMenuItem jmi, char accelerator)
          Sets the accelerator from the given menuitem and the given character with the CTRL.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MenuUtils

public MenuUtils()
Method Detail

setCtrlAccelerator

public static void setCtrlAccelerator(javax.swing.JMenuItem jmi,
                                      char accelerator)
Sets the accelerator from the given menuitem and the given character with the CTRL. The accelerator are combined with the given character and the CTRL.

Parameters:
jmi - The JMenuItem.
accelerator - The character that have to push together with the CTRL.


Copyright © 2010. All Rights Reserved.