jdk/src/share/classes/javax/swing/plaf/synth/SynthBorder.java
changeset 23697 e556a715949f
parent 5506 202f599c92aa
equal deleted inserted replaced
23696:7deff68428ef 23697:e556a715949f
     1 /*
     1 /*
     2  * Copyright (c) 2002, 2006, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2002, 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
    34  * SynthBorder is a border that delegates to a Painter. The Insets
    34  * SynthBorder is a border that delegates to a Painter. The Insets
    35  * are determined at construction time.
    35  * are determined at construction time.
    36  *
    36  *
    37  * @author Scott Violet
    37  * @author Scott Violet
    38  */
    38  */
       
    39 @SuppressWarnings("serial") // Superclass is not serializable across versions
    39 class SynthBorder extends AbstractBorder implements UIResource {
    40 class SynthBorder extends AbstractBorder implements UIResource {
    40     private SynthUI ui;
    41     private SynthUI ui;
    41     private Insets insets;
    42     private Insets insets;
    42 
    43 
    43     SynthBorder(SynthUI ui, Insets insets) {
    44     SynthBorder(SynthUI ui, Insets insets) {