Code Generation Options

Many code generation options are available in Designer Professional.

  • Support for flat mode (e.g., create components within the same scope rather than in separate blocks)
  • Create every component as a field
  • Create every field-based Swing component in an accessor method
  • Prefix (separate) component creation with blank lines or custom comments
  • Automatically create event handler stub methods

Local Variable Options

  • Declare variables at the top of the method, at the top of the block or where first assigned
  • Optionally declare widget variables as final
  • Share variables like "girdData", "formData", "label", "button", etc.

Type Specific Options

  • Specify default variable names for different types (e.g., "gd" for GridData)
  • Option to automatically declare specific types as fields (e.g., Text, Table, etc.)
 Back