IntelliJ IDEA 2022.3 Help

Moving Components

Components can be repositioned on a form however you wish. The results of any move depend on the setting of the Layout Manager property of the target container.

This section describes how to move components using drag-and-drop operation, or using navigation keys on your keyboard.

To move one or more components

  1. Select one or more components in a Form Workspace.

  2. A drag handle appears near the selected components indicating that you can drag to a new position on the form. (It is not necessary to point to the handle itself... hover anywhere over the selected components.)

  3. Drag and drop the selection to the target container, or to the target area within the same container. The valid drop locations are highlighted with blue borders.

    Illustration

To move a component using keyboard

  1. Select the desire component on the form.

  2. Press Ctrl+Arrow.

Last modified: 08 March 2021