jdk/src/java.desktop/share/classes/java/awt/MenuContainer.java
changeset 29886 545c0c3809b8
parent 25859 3317bb8137f4
equal deleted inserted replaced
29885:6eb60fac3383 29886:545c0c3809b8
     1 /*
     1 /*
     2  * Copyright (c) 1995, 2014, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 1995, 2015, Oracle and/or its affiliates. All rights reserved.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4  *
     4  *
     5  * This code is free software; you can redistribute it and/or modify it
     5  * This code is free software; you can redistribute it and/or modify it
     6  * under the terms of the GNU General Public License version 2 only, as
     6  * under the terms of the GNU General Public License version 2 only, as
     7  * published by the Free Software Foundation.  Oracle designates this
     7  * published by the Free Software Foundation.  Oracle designates this
    48 
    48 
    49     /**
    49     /**
    50      * Posts an event to the listeners.
    50      * Posts an event to the listeners.
    51      *
    51      *
    52      * @param  evt the event to dispatch
    52      * @param  evt the event to dispatch
       
    53      * @return the results of posting the event
    53      * @deprecated As of JDK version 1.1
    54      * @deprecated As of JDK version 1.1
    54      * replaced by dispatchEvent(AWTEvent).
    55      * replaced by dispatchEvent(AWTEvent).
    55      */
    56      */
    56     @Deprecated
    57     @Deprecated
    57     boolean postEvent(Event evt);
    58     boolean postEvent(Event evt);