How Do I Add Several GUI Components in One Go?

In the GUI Builder, you can insert several GUI components of the same kind without having to go to the palette and back:

  1. Select a GUI component in the Palette and release the mouse.
  2. Move the mouse to the designer — the component will follow the mouse pointer. Within the designer, you'll see guidelines suggesting the preferred component spacing.
  3. Shift-click once for each instance of the component you want to place into the Panel.
  4. Release the Shift key and click to insert the last instance. Or right-click to cancel more adding.

  Applies to: NetBeans 5.0, 5.5, 6.x
  Platforms: All
Not logged in. Log in, Register

By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo