src/java.desktop/share/classes/java/awt/Choice.java
changeset 58325 d32a3b1ca84a
parent 47216 71c04702a3d5
equal deleted inserted replaced
58324:0aba35254e00 58325:d32a3b1ca84a
     1 /*
     1 /*
     2  * Copyright (c) 1995, 2015, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 1995, 2019, 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
    49  * </pre></blockquote><hr>
    49  * </pre></blockquote><hr>
    50  * <p>
    50  * <p>
    51  * After this choice menu has been added to a panel,
    51  * After this choice menu has been added to a panel,
    52  * it appears as follows in its normal state:
    52  * it appears as follows in its normal state:
    53  * <p>
    53  * <p>
    54  * <img src="doc-files/Choice-1.gif" alt="The following text describes the graphic"
    54  * <img src="doc-files/Choice-1.gif" alt="The following text describes the
    55  * style="float:center; margin: 7px 10px;">
    55  * graphic" style="margin: 7px 10px;">
    56  * <p>
    56  * <p>
    57  * In the picture, {@code "Green"} is the current choice.
    57  * In the picture, {@code "Green"} is the current choice.
    58  * Pushing the mouse button down on the object causes a menu to
    58  * Pushing the mouse button down on the object causes a menu to
    59  * appear with the current choice highlighted.
    59  * appear with the current choice highlighted.
    60  * <p>
    60  * <p>