< prev index next >
src/java.desktop/share/classes/javax/swing/MenuElement.java
Print this page
@@ -1,7 +1,7 @@
/*
- * Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 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
@@ -51,21 +51,21 @@
*
* @param event a {@code MouseEvent} to be processed
* @param path the path of the receiving element in the menu hierarchy
* @param manager the {@code MenuSelectionManager} for the menu hierarchy
*/
- public void processMouseEvent(MouseEvent event, MenuElement path[], MenuSelectionManager manager);
+ public void processMouseEvent(MouseEvent event, MenuElement[] path, MenuSelectionManager manager);
/**
* Process a key event.
*
* @param event a {@code KeyEvent} to be processed
* @param path the path of the receiving element in the menu hierarchy
* @param manager the {@code MenuSelectionManager} for the menu hierarchy
*/
- public void processKeyEvent(KeyEvent event, MenuElement path[], MenuSelectionManager manager);
+ public void processKeyEvent(KeyEvent event, MenuElement[] path, MenuSelectionManager manager);
/**
* Call by the {@code MenuSelectionManager} when the {@code MenuElement} is
* added or removed from the menu selection.
*
< prev index next >