add( message );
final Colorful data = new Colorful();
data.setColor( new Color( 255, 153, 102 ) );
DefaultProperty level0 = new NoReadWriteProperty();
level0.setDisplayName("Level 0");
level0.setCategory("A category");
DefaultProperty level1 = new NoReadWriteProperty();
level1.setDisplayName("Level 1");
level1.setCategory("Another category");
level0.addSubProperty(level1);
DefaultProperty level2 = new NoReadWriteProperty();
level2.setDisplayName("Level 2");
level1.addSubProperty(level2);
DefaultProperty level21 = new NoReadWriteProperty();
level21.setDisplayName("Level 3");
level1.addSubProperty(level21);
DefaultProperty level211 = new NoReadWriteProperty();
level211.setDisplayName("Level 3.1");
level21.addSubProperty(level211);
DefaultProperty root = new NoReadWriteProperty();
root.setDisplayName("Root");
final PropertySheetPanel sheet = new PropertySheetPanel();
sheet.setMode( PropertySheet.VIEW_AS_FLAT_LIST );
sheet.setProperties( new Property[] { new ColorProperty(), level0, root } );
sheet.readFromObject( data );