public final class ComponentForegroundQuery extends Object
Component.Component.getForeground()| Modifier and Type | Method and Description |
|---|---|
static Color |
foregroundOf(Component component)
Returns the foreground color of the given
. |
@RunsInEDT public static Color foregroundOf(Component component)
Component. This action is executed in the event
dispatch thread.component - the given Component.Component.Component.getForeground()Copyright © 2007-2012 FEST (Fixtures for Easy Software Testing). All Rights Reserved.