Microsoft SDK for Java

setForeground

This method of the ActiveXControl Class sets the foreground color of the component. This method notifies the control that the foreground color has changed.

Syntax

public void setForeground(Color c);

Parameters

c The new color of the foreground.

© 1999 Microsoft Corporation. All rights reserved. Terms of use.