< prev index next >

src/java.desktop/share/classes/java/awt/Event.java

Print this page

        

*** 1,7 **** /* ! * Copyright (c) 1995, 2016, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. Oracle designates this --- 1,7 ---- /* ! * Copyright (c) 1995, 2018, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. Oracle designates this
*** 548,558 **** * @see java.awt.EventQueue */ public Event evt; /* table for mapping old Event action keys to KeyEvent virtual keys. */ ! private static final int actionKeyCodes[][] = { /* virtual key action key */ { KeyEvent.VK_HOME, Event.HOME }, { KeyEvent.VK_END, Event.END }, { KeyEvent.VK_PAGE_UP, Event.PGUP }, { KeyEvent.VK_PAGE_DOWN, Event.PGDN }, --- 548,558 ---- * @see java.awt.EventQueue */ public Event evt; /* table for mapping old Event action keys to KeyEvent virtual keys. */ ! private static final int[][] actionKeyCodes = { /* virtual key action key */ { KeyEvent.VK_HOME, Event.HOME }, { KeyEvent.VK_END, Event.END }, { KeyEvent.VK_PAGE_UP, Event.PGUP }, { KeyEvent.VK_PAGE_DOWN, Event.PGDN },
< prev index next >