This topic inludes the source code for the Introduction.html Sample.
This sample is located in the following directory in your WebLogic Workshop installation:
BEA_HOME/weblogic81/samples/workshop/ExtensionDevKit/ControlDevKit/ControlFeatures/insertWizardCustom/ide/html/
<html> <head> <link href="workshop.css" rel="stylesheet" type="text/css"> </head> <body> <h1>Custom Insert Wizard Sample Overview</h1> <p><font size="2">This sample is an example of a fully-custom dialog for inserting a Java control. The control itself isn't functional. The interesting code is in the implementation of ControlWizard and the dialog that accompanies it.</font></p> <p><font size="2">As you use the "Name the Control" tab of the wizard dialog, the dialog's bottom pane will display messages that describe how your choices impact what the wizard does.</font></p> <p><font size="2">This wizard dialog uses several Swing components. For more information about these, see the following:</font></p> <p><font size="2">Tabbed panes:</font></p> <blockquote> <p><font size="2"><a href="http://java.sun.com/docs/books/tutorial/uiswing/components/tabbedpane.html" target="_blank">How to Use Tabbed Panes</a></font></p> </blockquote> <p><font size="2">Panels that contain other components:</font></p> <blockquote> <p><font size="2"><a href="http://java.sun.com/docs/books/tutorial/uiswing/components/panel.html" target="_blank">How to Use Panels</a></font></p> </blockquote> <p><font size="2">Buttons and radio buttons:</font></p> <blockquote> <p><font size="2"><a href="http://java.sun.com/docs/books/tutorial/uiswing/components/button.html" target="_blank">How to Use Buttons, Check Boxes, and Radio Buttons</a></font></p> </blockquote> <p><font size="2">Text boxes, editing boxes (such as the one on the Step 1 tab), and simple text areas (such as the one on the bottom of the wizard dialog:</font></p> <blockquote> <p><font size="2"><a href="http://java.sun.com/docs/books/tutorial/uiswing/components/text.html" target="_blank">Using Text Components</a></font></p> </blockquote> <p><font size="2">Listening for events, such as when a UI component receives focus or gets clicked:</font></p> <blockquote> <p><font size="2"><a href="http://java.sun.com/docs/books/tutorial/uiswing/events/">Lesson: Writing Event Listeners</a></font></p> </blockquote> <p><font size="2">Arranging user interface components.</font></p> <blockquote> <p><font size="2"><a href="http://java.sun.com/docs/books/tutorial/uiswing/layout/gridbag.html">How to Use GridBagLayout</a></font></p> </blockquote> <blockquote> <p><font size="2"><a href="http://java.sun.com/docs/books/tutorial/uiswing/layout/visual.html">A Visual Guide to Layout Managers</a></font></p> </blockquote> <p> </p> </body> </html>