src/share/classes/java/awt/Choice.java

Print this page

        

*** 1,7 **** /* ! * Copyright (c) 1995, 2008, 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, 2013, 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
*** 32,42 **** import java.io.ObjectInputStream; import java.io.IOException; import javax.accessibility.*; - import javax.tools.annotation.GenerateNativeHeader; /** * The <code>Choice</code> class presents a pop-up menu of choices. * The current choice is displayed as the title of the menu. * <p> --- 32,41 ----
*** 69,80 **** * <p> * @author Sami Shaio * @author Arthur van Hoff * @since JDK1.0 */ - /* No native methods here, but the constants are needed in the supporting JNI code */ - @GenerateNativeHeader public class Choice extends Component implements ItemSelectable, Accessible { /** * The items for the <code>Choice</code>. * This can be a <code>null</code> value. * @serial --- 68,77 ----