public KeyStroke createKeyStroke() {
		KeyStroke result = null;
		int modifiers = 0;
		if (isAcceleratorCtrlMask()) {
			modifiers = modifiers | InputEvent.CTRL_MASK;
		}
		if (isAcceleratorShiftMask()) {
			modifiers = modifiers | InputEvent.SHIFT_MASK;
		}
		if (isAcceleratorAltMask()) {
			modifiers = modifiers | InputEvent.ALT_MASK;
		}
		if (acceleratorKey != null && acceleratorKey.length() > 0) {
			if (acceleratorKey.equals("PgUp")) {
				result = KeyStroke.getKeyStroke(KeyEvent.VK_ESCAPE, modifiers);
			} else if (acceleratorKey.equals("PgDn")) {
				result = KeyStroke.getKeyStroke(KeyEvent.VK_PAGE_DOWN, modifiers);
			} else if (acceleratorKey.equals("Tab")) {
				result = KeyStroke.getKeyStroke(KeyEvent.VK_TAB, modifiers);
			} else {
				result = KeyStroke.getKeyStroke(acceleratorKey.charAt(0), modifiers);
			}
		}
		return result;
	}