pnlHeader.add(lblHeader);
AppStyles.applyStyle(lblHeader, "TaskIconGroup Label.header");
AppStyles.applyStyle(pnlHeader, "TaskIconGroup Panel.header");
//flow layout that resizes with component:
SizeableFlowLayout layout = new SizeableFlowLayout(SizeableFlowLayout.LEFT);
pnlGroup = new JPrettyPanel(layout);
layout.addAutoResizeListener(pnlGroup);
AppStyles.applyStyle(pnlGroup, "TaskIconGroup Panel.body");
add(pnlHeader);
add(pnlGroup);