diff --git a/src/share/classes/javax/swing/JTabbedPane.java b/src/share/classes/javax/swing/JTabbedPane.java
index 1d548438774b43ee49a261ee51b33d541b6cafc2..572e1c3700a34d3ca9d49eea329d1d2a0ea3878a 100644
--- a/src/share/classes/javax/swing/JTabbedPane.java
+++ b/src/share/classes/javax/swing/JTabbedPane.java
@@ -1443,6 +1443,10 @@ public class JTabbedPane extends JComponent
* which can be null
, in which case the tab's background color
* will default to the background color of the tabbedpane
.
* An internal exception is raised if there is no tab at that index.
+ *
null
, in which case the tab's foreground color
* will default to the foreground color of this tabbedpane
.
* An internal exception is raised if there is no tab at that index.
+ *
+ * It is up to the look and feel to honor this property, some may
+ * choose to ignore it.
*
* @param index the tab index where the foreground should be set
* @param foreground the color to be displayed as the tab's foreground