< prev index next >

src/java.desktop/macosx/classes/sun/lwawt/macosx/CMenuItem.java

Print this page

        

*** 1,7 **** /* ! * Copyright (c) 2011, 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) 2011, 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
*** 127,146 **** */ public final void setToolTipText(final String text) { execute(ptr -> nativeSetTooltip(ptr, text)); } - // @Override - public void enable() { - setEnabled(true); - } - - // @Override - public void disable() { - setEnabled(false); - } - public final boolean isEnabled() { return enabled.get(); } @Override --- 127,136 ----
< prev index next >