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.
The Visual J++ Control template provides a head start in creating a WFC control. The template provides a class that is derived from com.ms.wfc.ui.UserControl and that contains a ClassInfo class that is derived from UserControl.ClassInfo.
Note Before you start the following procedure, close any open projects. (On the File menu, click Close All.)
To create a control project with the Control template
On the File menu, click New Project.
On the New tab, expand the Visual J++ Projects folder, click Components, and then select the Control icon.
In the Name box, type a name for your project.
For this scenario, type GroupCheck.
In the Location box, type the path where you want to save your project, or click Browse to navigate to a directory.
Click Open.
In Project Explorer, expand the project node.
A file with the default name Control1.java is added to your project.
To rename the control source file to GroupCheck.java, right-click the file name in Project Explorer, and then click Rename.
Note Renaming this file does not rename the associated class in the source code and vice versa. You must manually change all instances of the old name. (You can create an and then add a control class to the project. You can then name the control before it is created.)
The next step is to design the layout of your control.