Is it possible to search an SWTTable control for a specific value within Silk4J or get the value of a cell within a SWTTable control?

There are no in-built methods provided on the SWTTable class that allow a user to search for cell that contains a certain value or to get the value of a cell within that SWTTable. However it is possible to create a utility class that provides assistive methods to perform the required functionality. The code below highlights how to implement such a utility class.
 

package com.mf.utils;

import java.util.List;
import com.borland.silktest.jtf.swt.SWTTable;
import com.borland.silktest.jtf.swt.SWTTableRow;


public class SWTTableFunctions {
 
 //returns the value of a particular cell
 public static String getCellValue(SWTTable myTable, int row, int column){
        String sReturn = "";
  
  if(row <= myTable.getRowCount()){
              if(column < myTable.getColumnCount()){
                    sReturn = myTable.find("//SWTTableRow["+row+"]").getItems().get(column-1);
              }
        }
  
  return sReturn;
 }
 
 //searches table for a cell matching the said value, returns a string
 //in the format "row,column"
 public static String findCell(SWTTable myTable, String sCellValue){
  String sReturn = "";
  
  boolean bBreak = false;
  
  int iRow, iCol;
  
  SWTTableRow wRow;
  
  List lsCells;
  
  for(iRow = 1; iRow <= myTable.getRowCount(); iRow++){
   wRow = myTable.find("//SWTTableRow["+iRow+"]");
   
   lsCells = wRow.getItems();
   
   for(iCol=0; iCol
    if(lsCells.get(iCol).equals(sCellValue)){
     sReturn = ""+iRow+","+(iCol+1)+"";
     bBreak = true;
     break;
    }
   }
   
   if(bBreak){
    break;
   }
  }
  
  return sReturn;
 }
 

}