Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
You can use the Windows Foundation Classes for Java (WFC) component model to create two types of controls: custom and composite.
Custom controls derive from the com.ms.wfc.ui.Control class. You can design a custom control in its entirety or subclass an existing WFC control. For more information on creating custom controls, see .
Composite controls are controls that include other controls. All composite controls are derived from the com.ms.wfc.ui.UserControl class. Because the UserControl class is a subclass of the com.ms.wfc.ui.Form class, you can use the to lay out the controls that define your composite control.
By creating the control in this topic, you will learn how to:
Use the Forms Designer to define the layout of your control.
Add properties and events using the WFC Component Builder.
Add supporting code for a control.
To get started, see Creating a Control Project.