final PVerticalPanel panel = new PVerticalPanel();
panel.setSpacing(10);
panel.add(new PLabel("Check all days that you are available:"));
final PCheckBox monday = new PCheckBox("Monday");
monday.addValueChangeHandler(this);
panel.add(monday);
final PCheckBox tuesday = new PCheckBox("Tuesday");
tuesday.addValueChangeHandler(this);
panel.add(tuesday);
final PCheckBox wednesday = new PCheckBox("Wednesday");
wednesday.addValueChangeHandler(this);
panel.add(wednesday);
final PCheckBox thursday = new PCheckBox("Thursday");
thursday.addValueChangeHandler(this);
panel.add(thursday);
final PCheckBox friday = new PCheckBox("Friday");
friday.addValueChangeHandler(this);
panel.add(friday);
final PCheckBox saturday = new PCheckBox("Saturday");
saturday.addValueChangeHandler(this);
saturday.setEnabled(false);
panel.add(saturday);
final PCheckBox sunday = new PCheckBox("Sunday");
sunday.addValueChangeHandler(this);
sunday.setEnabled(false);
panel.add(sunday);
examplePanel.setWidget(panel);
}