Microsoft SDK for Java

Button.Button

Creates a Button control.

Syntax

public Button()

Remarks

By default, the button has no caption. If you create a button using the Forms Designer, the button caption is set to the button name by default. To set the text on a button programmatically, use the setText method.

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