public static void createHeader2Label(final AbstractOrderedLayout panel,final String content) {
		final Label label = new Label(content);
		label.setStyleName("Level2Header");

		panel.addComponent(label);
		panel.setExpandRatio(label,ContentRatio.SMALL);
	}
public static void createHeader2Label(final AbstractOrderedLayout panel,final String content) {
		final Label label = new Label(content);
		label.setStyleName("Level2Header");

		panel.addComponent(label);
		panel.setExpandRatio(label,ContentRatio.SMALL);
	}
public static void createHeader2Label ( final AbstractOrderedLayout panel , final String content ) { final Label label = new Label ( content ) ; label . setStyleName ( "Level2Header" ) ; panel . addComponent ( label ) ; panel . setExpandRatio ( label , ContentRatio . SMALL ) ; }
Creates a new Label object.

@param panel
the panel
@param content
the content
Creates a new Label object .