Buggy code:
public class PropertyTableSnippet { public static void main ( final String [ ] args ) { } private static PropertyTable buildPropertyTable ( final TabFolder tabFolder , final boolean showButton , final boolean showAsCategory , final boolean showDescription ) { final PropertyTable table = new PropertyTable ( tabFolder , SWT . NONE ) ; if ( showButton ) { table . showButtons ( ) ; } else { table . hideButtons ( ) ; } if ( showAsCategory ) { table . viewAsCategories ( ) ; } else { table . viewAsFlatList ( ) ; } if ( showDescription ) { table . showDescription ( ) ; } else { table . hideDescription ( ) ; } table . addProperty ( new PTProperty ( "id" , "Identifier" , "Description<seq2seq4repair_space>for<seq2seq4repair_space>identifier" , "My<seq2seq4repair_space>id" ) ) . setCategory ( "General" ) ; table . addProperty ( new PTProperty ( "text" , "Description" , "Description<seq2seq4repair_space>for<seq2seq4repair_space>the<seq2seq4repair_space>description<seq2seq4repair_space>field" , "blahblah..." ) ) . setCategory ( "General" ) ; table . addProperty ( new PTProperty ( "url" , "URL:" , "This<seq2seq4repair_space>is<seq2seq4repair_space>a<seq2seq4repair_space>nice<seq2seq4repair_space><b>URL<//b>" , "http:////www.google.com" ) . setCategory ( "General" ) ) . setEditor ( new PTURLEditor ( ) ) ; table . addProperty ( new PTProperty ( "password" , "Password" , "Enter<seq2seq4repair_space>your<seq2seq4repair_space><i>password<//i><seq2seq4repair_space>and<seq2seq4repair_space>keep<seq2seq4repair_space>it<seq2seq4repair_space>secret..." , "password" ) ) . setCategory ( "General" ) . setEditor ( new PTPasswordEditor ( ) ) ; table . addProperty ( new PTProperty ( "int" , "An<seq2seq4repair_space>integer" , "Type<seq2seq4repair_space>any<seq2seq4repair_space>integer" , "123" ) ) . setCategory ( "Number" ) . setEditor ( new PTIntegerEditor ( ) ) ; table . addProperty ( new PTProperty ( "float" , "A<seq2seq4repair_space>float" , "Type<seq2seq4repair_space>any<seq2seq4repair_space>float" , "123.45" ) ) . setCategory ( "Number" ) . setEditor ( new PTFloatEditor ( ) ) ; table . addProperty ( new PTProperty ( "spinner" , "Another<seq2seq4repair_space>integer" , "Use<seq2seq4repair_space>a<seq2seq4repair_space>spinner<seq2seq4repair_space>to<seq2seq4repair_space>enter<seq2seq4repair_space>an<seq2seq4repair_space>integer" ) ) . setCategory ( "Number" ) . setEditor ( new PTSpinnerEditor ( 0 , 100 ) ) ; table . addProperty ( new PTProperty ( "directory" , "Directory" , "Select<seq2seq4repair_space>a<seq2seq4repair_space>directory" ) ) . setCategory ( "Directory//File" ) . setEditor ( new PTDirectoryEditor ( ) ) ; table . addProperty ( new PTProperty ( "file" , "File" , "Select<seq2seq4repair_space>a<seq2seq4repair_space>file" ) ) . setCategory ( "Directory//File" ) . setEditor ( new PTFileEditor ( ) ) ; <START_BUG> table . addProperty ( new PTProperty ( "comboReadOnly" , "Combo<seq2seq4repair_space>(read-only)" , "A<seq2seq4repair_space>simple<seq2seq4repair_space>combo<seq2seq4repair_space>with<seq2seq4repair_space>seasons" ) ) . setCategory ( "Combo" ) . setEditor ( new PTComboEditor ( true , "Spring" , "Summer" , "Autumn" , "Winter" ) ) ; <END_BUG> table . addProperty ( new PTProperty ( "combo" , "Combo" , "A<seq2seq4repair_space>combo<seq2seq4repair_space>that<seq2seq4repair_space>is<seq2seq4repair_space>not<seq2seq4repair_space>read-only" ) ) . setCategory ( "Combo" ) . setEditor ( new PTComboEditor ( "Value<seq2seq4repair_space>1" , "Value<seq2seq4repair_space>2" , "Value<seq2seq4repair_space>3" ) ) ; table . addProperty ( new PTProperty ( "cb" , "Checkbox" , "A<seq2seq4repair_space>checkbox" ) ) . setCategory ( "Checkbox" ) . setEditor ( new PTCheckboxEditor ( ) ) . setCategory ( "Checkbox" ) ; table . addProperty ( new PTProperty ( "cb2" , "Checkbox<seq2seq4repair_space>(disabled)" , "A<seq2seq4repair_space>disabled<seq2seq4repair_space>checkbox..." ) ) . setEditor ( new PTCheckboxEditor ( ) ) . setCategory ( "Checkbox" ) . setEnabled ( false ) ; table . addProperty ( new PTProperty ( "color" , "Color" , "Pick<seq2seq4repair_space>it<seq2seq4repair_space>!" ) ) . setCategory ( "Misc" ) . setEditor ( new PTColorEditor ( ) ) ; table . addProperty ( new PTProperty ( "font" , "Font" , "Pick<seq2seq4repair_space>again<seq2seq4repair_space>my<seq2seq4repair_space>friend" ) ) . setEditor ( new PTFontEditor ( ) ) . setCategory ( "Misc" ) ; table . addProperty ( new PTProperty ( "dimension" , "Dimension" , "A<seq2seq4repair_space>dimension<seq2seq4repair_space>is<seq2seq4repair_space>composed<seq2seq4repair_space>of<seq2seq4repair_space>a<seq2seq4repair_space>width<seq2seq4repair_space>and<seq2seq4repair_space>a<seq2seq4repair_space>height" ) ) . setCategory ( "Misc" ) . setEditor ( new PTDimensionEditor ( ) ) ; table . addProperty ( new PTProperty ( "rectangle" , "Rectangle" , "A<seq2seq4repair_space>rectangle<seq2seq4repair_space>is<seq2seq4repair_space>composed<seq2seq4repair_space>of<seq2seq4repair_space>a<seq2seq4repair_space>position<seq2seq4repair_space>(x,y)<seq2seq4repair_space>and<seq2seq4repair_space>a<seq2seq4repair_space>dimension(width,height)" ) ) . setCategory ( "Misc" ) . setEditor ( new PTRectangleEditor ( ) ) ; table . addProperty ( new PTProperty ( "inset" , "Inset" , "An<seq2seq4repair_space>inset<seq2seq4repair_space>is<seq2seq4repair_space>composed<seq2seq4repair_space>of<seq2seq4repair_space>the<seq2seq4repair_space>following<seq2seq4repair_space>fields:top,left,bottom,right)" ) ) . setCategory ( "Misc" ) . setEditor ( new PTInsetsEditor ( ) ) ; table . addProperty ( new PTProperty ( "date" , "Date" , "Well,<seq2seq4repair_space>is<seq2seq4repair_space>there<seq2seq4repair_space>something<seq2seq4repair_space>more<seq2seq4repair_space>to<seq2seq4repair_space>say<seq2seq4repair_space>?" ) ) . setCategory ( "Misc" ) . setEditor ( new PTDateEditor ( ) ) ; return table ; } }

Fix:
table . addProperty ( new PTProperty ( "comboReadOnly" , "Combo<seq2seq4repair_space>(read-only)" , "A<seq2seq4repair_space>simple<seq2seq4repair_space>combo<seq2seq4repair_space>with<seq2seq4repair_space>seasons" ) ) . setCategory ( "Combo" ) . setEditor ( new PTComboEditor ( true , new Object [ ] { "Spring" , "Summer" , "Autumn" , "Winter" } ) ) ;