map.put( "TableName", tableName ); map.put( "RowCount", rowCount ); map.put( "ColumnCount", columnCount );
if ( columnCount <= 0 ) { columnCount = DEFAULT_COLUMN_COUNT; } if ( rowCount <= 0 ) { rowCount = DEFAULT_ROW_COUNT; }  setResult( new int[]{ rowCount, columnCount } );  if ( chkbox.getSelection( ) ) { savePreference( ); }
	protected void okPressed( )	{		String tableName = textEditor.getText( );		Integer rowCount;		try		{			rowCount = Integer.valueOf( lineEditor.getText( ) );		}		catch ( NumberFormatException e )		{			rowCount = new Integer( -1 );		}		Integer columnCount;		try		{			columnCount = Integer.valueOf( columnEditor.getText( ) );		}		catch ( NumberFormatException e )		{			columnCount = new Integer( -1 );		}		map.put( "TableName", tableName );		map.put( "RowCount", rowCount );		map.put( "ColumnCount", columnCount );		super.okPressed( );	}