diff -r 9c83666ebd5e -r 399b77799d66 jdk/src/share/classes/javax/swing/border/MatteBorder.java --- a/jdk/src/share/classes/javax/swing/border/MatteBorder.java Mon May 19 10:34:42 2014 +0400 +++ b/jdk/src/share/classes/javax/swing/border/MatteBorder.java Mon May 19 10:43:09 2014 +0400 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2013, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1997, 2014, 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 @@ -196,6 +196,9 @@ /** * Returns the color used for tiling the border or null * if a tile icon is being used. + * + * @return the {@code Color} object used to render the border or {@code null} + * if a tile icon is used * @since 1.3 */ public Color getMatteColor() { @@ -205,6 +208,9 @@ /** * Returns the icon used for tiling the border or null * if a solid color is being used. + * + * @return the {@code Icon} used to tile the border or {@code null} if a + * solid color is used to fill the border * @since 1.3 */ public Icon getTileIcon() { @@ -213,6 +219,8 @@ /** * Returns whether or not the border is opaque. + * + * @return {@code true} if the border is opaque, {@code false} otherwise */ public boolean isBorderOpaque() { // If a tileIcon is set, then it may contain transparent bits