Duplicating Components
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.
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.
Select one or more components in the Form Workspace or in the Components Treeview.
Keeping the Ctrl button pressed, drag the selected component to the new locations.
Click each target location to create a new instance of the component.
Release the Ctrl button when ready.
Select the desired component on a form.
Press Ctrl0D.
Thanks for your feedback!
Was this page helpful?