Package: javax.swing

## Class JToolBar

- - ### Methods Summary

    Methods
    Return type | Name and parameters
    --- | ---
    `Component` | `getAt(int index)` Support the subscript operator for JToolBar.
    `JToolBar` | `leftShift(Action action)` Overloads the left shift operator to provide an easy way to add components to a toolBar.

  - #### Methods inherited from class java.awt.Container

    `clear`, `getAt`, `iterator`, `leftShift`, `size`

  - #### Methods inherited from class java.lang.Object

    `addShutdownHook`, `any`, `any`, `asBoolean`, `asType`, `average`, `collect`, `collect`, `collect`, `contains`, `count`, `dump`, `each`, `eachWithIndex`, `equals`, `every`, `every`, `find`, `find`, `findAll`, `findAll`, `findIndexOf`, `findIndexOf`, `findIndexValues`, `findIndexValues`, `findLastIndexOf`, `findLastIndexOf`, `findResult`, `findResult`, `flatten`, `getAt`, `getMetaClass`, `getMetaPropertyValues`, `getProperties`, `grep`, `grep`, `groupBy`, `groupBy`, `hasProperty`, `identity`, `inject`, `inject`, `inspect`, `invokeMethod`, `is`, `isCase`, `iterator`, `join`, `metaClass`, `print`, `print`, `printf`, `printf`, `println`, `println`, `println`, `putAt`, `respondsTo`, `respondsTo`, `setMetaClass`, `size`, `split`, `sprintf`, `sprintf`, `stream`, `sum`, `sum`, `tap`, `toArrayString`, `toSpreadMap`, `toString`, `use`, `use`, `use`, `with`, `with`, `withTraits`

- - ### Methods Detail

    - #### public Component getAt(int index)

      Support the subscript operator for JToolBar.

      Parameters:
        `index` - the index of the tab component to get
      Returns:
        the tab component at the given index
      Since:
        1.6.4

    - #### public JToolBar leftShift(Action action)

      Overloads the left shift operator to provide an easy way to add components to a toolBar.

      Parameters:
        `action` - an Action to be added to the toolBar.
      Returns:
        same toolBar, after the value was added to it.
      Since:
        1.6.4