mirror of
https://github.com/openjdk/jdk.git
synced 2026-02-18 06:15:16 +00:00
6939001: Nimbus: JTabbedPane setBackgroundAt and setForegroundAt have no effect
Reviewed-by: rupashka
This commit is contained in:
parent
c41b76c703
commit
1fd75b2cc9
@ -1443,6 +1443,10 @@ public class JTabbedPane extends JComponent
|
||||
* which can be <code>null</code>, in which case the tab's background color
|
||||
* will default to the background color of the <code>tabbedpane</code>.
|
||||
* An internal exception is raised if there is no tab at that index.
|
||||
* <p/>
|
||||
* 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 background should be set
|
||||
* @param background the color to be displayed in the tab's background
|
||||
* @exception IndexOutOfBoundsException if index is out of range
|
||||
@ -1472,6 +1476,9 @@ public class JTabbedPane extends JComponent
|
||||
* <code>null</code>, in which case the tab's foreground color
|
||||
* will default to the foreground color of this <code>tabbedpane</code>.
|
||||
* An internal exception is raised if there is no tab at that index.
|
||||
* <p/>
|
||||
* 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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user