IntelliJ IDEA's GUI Designer provides several ways to create new instances of the same component on a form without returning to the Component Palette.
To add multiple instances of a component from the Palette to a form
- Click the desired component in the Palette.
- Keeping the Ctrl button pressed, click the target locations in the form.
- Release the Ctrl button when ready.
To create a new instance of a component in a new location
To clone a component
- Select the desired component on a form.
- Press Ctrl+D.
Last modified: 30 August 2017