I've been having this problem.. I read with HSSF xls cell (which value is lets say "turbox" value this way:
 String hssfstanskup = sheet.getRow(p).getCell(3).getStringCellValue();
then, I create a row in my JTablel like this:
 model.addRow(new Object[] { hssfstanskup } );
but if I create if statement like this:
 if((String) tprojekty.getValueAt(0,1) == "xxx"){
it doesnot work...
extra info: tprojekty = new JTable(model); can anyone help me with this? thanks in advance!
 
     
     
     
    