| May 2006 [Revision number: V2.1-1] |
|
|
This tutorial shows how to download the sample BluePrints Ajax Component modules from the Sun Java Studio Creator Update Center and import the modules into the IDE.
The sample Java BluePrints Ajax components are provided to help you learn about Ajax and to show how Ajax fits with the Java Studio Creator IDE. For an introduction to the Ajax technology, see Ajax and Sun Java Studio Creator 2.
|
| Contents
|
![[spacer]](/im/a.gif) |
 |
Downloading the Ajax Modules
- From the IDE's main menu, choose Tools > Update Center.
The Update Center wizard opens. If you are working behind a firewall, you must configure the proxy server. Click Proxy Configuration and enter your proxy information in the dialog box.
- Click Next in the Update Center wizard. The wizard checks for available updates and new modules, then opens the Select Modules to Install pane if there are updates or new modules available.
- In the left panel, select BluePrints Ajax Components, then click the right arrow to move it to the Include in Install panel.
- Click Next, then read and accept the agreement.
The Update Center wizard downloads the BluePrints Ajax Components module.
- Click Next to install the module into the IDE, then click Finish.
- Click OK to restart the IDE.
Importing the Ajax Modules Into the IDE
- From the IDE's main menu, choose Tools > Component Library Manager.
- In the Component Library Manager, click the Import button, which is in
the lower left corner of the dialog box.
- In the Import Component Library dialog box, click the Browse button.
- In the Open dialog box, select the
ui.complib file, and click
Open. If you are using the Sun Java Studio Creator 2 IDE, you must navigate
to install-directory\nb4.1\samples\complib, where install-directory
is the location of your Java Studio Creator installation.
The ui.complib path and BluePrints Ajax components appear in
the Import Component Library dialog box, similar to the following figure.
Figure 1: Import
Component Library Dialog Box |
- Click OK.
If you have installed an earlier version of the BluePrints Ajax Components,
the IDE displays a dialog box asking whether you want to overwrite the component
library. Click Yes.
- Click Close in the Component Library Manager to return to the IDE.
The BluePrints Ajax Components and BluePrints Ajax Support Beans categories
are added to the Palette. If you expand both categories, you'll see the
nodes shown in the following figure.
Figure 2: BluePrints
Ajax Components In the Palette |
Note: If you have a project that uses an earlier version of the components, you can force
the project to use the newer libraries by dropping a BluePrints Ajax component on a page in the project.
Remove the component, then close and reopen the project.
See Also:
More Developer Resources:
For more tutorials, articles, tips, forums, updates, and expert advice for developers, visit the
Java Studio Creator developer resources on the Sun Developer Network (SDN) at http://developers.sun.com/jscreator/.
This page was last modified: October 10, 2006
|