Here you can find the source of getSystemHelpKey()
static public KeyStroke getSystemHelpKey()
//package com.java2s; /*//from ww w . j a v a 2s . co m * IRIS -- Intelligent Roadway Information System * Copyright (C) 2009-2014 Minnesota Department of Transportation * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. */ import java.awt.event.KeyEvent; import javax.swing.KeyStroke; public class Main { /** get key that initiates help system */ static public KeyStroke getSystemHelpKey() { return KeyStroke.getKeyStroke(KeyEvent.VK_F1, 0); } }