--- a/jdk/src/share/classes/javax/swing/plaf/synth/SynthButtonUI.java Thu Jun 26 15:58:06 2014 +0400
+++ b/jdk/src/share/classes/javax/swing/plaf/synth/SynthButtonUI.java Thu Jun 26 15:59:57 2014 +0400
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2002, 2013, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2002, 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
@@ -513,6 +513,13 @@
/**
* Returns the Icon used in calculating the
* preferred/minimum/maximum size.
+ *
+ * @param b specifies the {@code AbstractButton}
+ * used when calculating the preferred/minimum/maximum
+ * size.
+ *
+ * @return the Icon used in calculating the
+ * preferred/minimum/maximum size.
*/
protected Icon getSizingIcon(AbstractButton b) {
Icon icon = getEnabledIcon(b, b.getIcon());