Copyright (c) SEMM NL All rights reserved.
Author : Paul Hamaker. Part of JavaLessons.com

We use javax.swing.JToolBar,...

create it,...

fill it with JButtons.

Gap in between.

We create buttons with a picture only, no text.

Associate tooltips.

=========

NOTES

=========

The JToolbar is floating by default, you can drag it by its dotted area and drop it so it will stick to another border.

Use
  tb.setFloatable( false ) ;

if you don't want this.

.