.singleton(component);
AbstractComponent targetComponent = model
.getModifiedComponentAt(row, column, isInsertRow,
isInsertColumn);
final ExecutionResult result = checkDropPolicy(targetComponent,
sourceComponents, this);
if (result.getStatus()) {
model.setValueAt(component, row, column, isInsertRow,
isInsertColumn);
recreateTable();
} else {
// Action is _not_ permitted under policy constraint
SwingUtilities.invokeLater(new Runnable() {
@Override
public void run() {
// Inform the user that policy prohibited the
// operation.
OptionBox.showMessageDialog(
TableViewManifestation.this,
result.getMessage(),
"Composition Error - ",
OptionBox.ERROR_MESSAGE);
}
});
}