-
Notifications
You must be signed in to change notification settings - Fork 12
PanelHeader
Haixing Hu edited this page Sep 18, 2014
·
1 revision
This is the Header
widget comes from the OPAL project, with some refactoring of the implementaion.
final Image icon = SWTResourceManager.getImage(HeaderExample.class,
"/images/configure.png");
final PanelHeader header = new PanelHeader(shell, SWT.NONE);
header.setTitle("Header Title");
header.setImage(icon);
header.setDescription("Description area for the header. You can put all "
+ "<b>additional</b>, <i>relevant information</i> to the "
+ "description panel (or <u>jokes</u>, citations, "
+ "... <color=red>what you want!</color>)");
An example is located in the source repository:
src/test/java/com/github/haixing_hu/swt/window/PanelHeaderExample.java