Creating Coolbars : CoolBar « SWT « Java Tutorial






SWT uses two classes to implement coolbars: CoolBar and CoolItem. You must size the CoolItem yourself, or it won't be sized properly.

17.66.CoolBar
17.66.1.Creating Coolbars
17.66.2.Add ToolBar to CoolBarAdd ToolBar to CoolBar
17.66.3.Add Button and Combo to a CoolBarAdd Button and Combo to a CoolBar
17.66.4.Create a coolbar (relayout when resized)Create a coolbar (relayout when resized)
17.66.5.CoolBar: drop-down a chevron menu containing hidden tool itemsCoolBar: drop-down a chevron menu containing hidden tool items