jdk/src/share/classes/com/sun/java/swing/plaf/motif/MotifTextUI.java
changeset 23632 cd7a34d12e8c
parent 5506 202f599c92aa
equal deleted inserted replaced
23631:f6652dee742c 23632:cd7a34d12e8c
     1 /*
     1 /*
     2  * Copyright (c) 1997, 1998, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 1997, 2014, 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
    64      * future Swing releases.  The current serialization support is appropriate
    64      * future Swing releases.  The current serialization support is appropriate
    65      * for short term storage or RMI between applications running the same
    65      * for short term storage or RMI between applications running the same
    66      * version of Swing.  A future release of Swing will provide support for
    66      * version of Swing.  A future release of Swing will provide support for
    67      * long term persistence.
    67      * long term persistence.
    68      */
    68      */
       
    69     @SuppressWarnings("serial") // Superclass is not serializable across versions
    69     public static class MotifCaret extends DefaultCaret implements UIResource {
    70     public static class MotifCaret extends DefaultCaret implements UIResource {
    70 
    71 
    71         /**
    72         /**
    72          * Called when the component containing the caret gains
    73          * Called when the component containing the caret gains
    73          * focus.  This is implemented to repaint the component
    74          * focus.  This is implemented to repaint the component