The example demonstrates how to create and initialize a JYPropertyTable. As you can see the property HorizontalAlignment is a bit special because only a few values are valid. In this case letting the user directly edit the value isn't recommended. However, the Custom ComboBox-TableCellEditor example demonstrates how to solve the issue.

All relevant lines are highlighted. Press the "Run..." button to start the demo.