Paste Snippet dialog box
The Paste Snippet dialog box creates code snippets. The information displayed in this dialog box depends on how you access it.
If you
- Choose Example snippet on the Other page of the Object Gallery, the Paste Snippet dialog contains the Example snippet code.
- Choose Bean Info on the BeansExpress page of the Object Gallery, this dialog contains code for creating a bean information shell.
- Choose New Event Bean on the BeansExpress page of the Object Gallery, this dialog contains code for creating a new event bean.
Dialog box options
Code
The snippet code. This code is read-only; you can edit it in the Source pane after you create the snippet.
- For the Example snippet, this code extends BevelPanel and uses XY Layout. You can use this example snippet as a starting point for creating your own code.
- For the Bean Info snippet, this code creates a bean information shell. Specify the class with the Snippet Parameters dialog box.
- For the New Event Bean snippet, this code creates a custom event bean. Specify the class with the Snippet Parameters dialog box.
Filename/Your Class
The name of the snippet class.
File
The name of the snippet .java file.
Parameters
Displays the Snippet Parameters dialog box, where you set snippet parameters.