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, the Paste Snippet dialog contains code for creating a bean info shell.
- Choose New Event Bean on the BeansExpress page of the Object Gallery, the Paste Snippet dialog contains code for creating multiple new events.
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, the new code extends BevelPanel and uses XY Layout. You can use this example snippet as a starting point for creating your own class.
- For the Bean Info snippet, the new code creates a BeanInfo class to correspond with an existing JavaBean in your project.
- For the New Event Bean snippet, the new code creates multiple custom events.
Your Class
The name of the class that holds the snippet. The name must match the name specified in the Snippet Parameters dialog.
File
The name of the .java file that will contain the code snippet.
Parameters
Displays the Snippet Parameters dialog box, where you set snippet parameters.