XTable table = (XTable)findComponent( obj, "table" );
XEdit edit = (XEdit)findComponent( "edit" );
XEdit edit2 = (XEdit)findComponent( "edit2" );
XEdit edit3 = (XEdit)findComponent( "edit3" );
if ( edit2.getText().equals( "" ) || edit2.getText().equals( "Row Index" ) || edit3.getText().equals( "" ) || edit3.getText().equals( "Column Index" ) ) {
XMessageBox alert = new XMessageBox( "You must enter a row number and a column number.");
} else {
if ( table.getCell( Integer.parseInt( edit2.getText() ), Integer.parseInt( edit3.getText() ) ) == null ) {
table.insertCell( Integer.parseInt( edit2.getText() ), Integer.parseInt( edit3.getText() ) );
table.setValue( Integer.parseInt( edit2.getText() ), Integer.parseInt( edit3.getText() ), edit.getText() );
} else {