if(!(tblContract.getRowCount() < 0)){ tblContract.getColumn("conTypeCondition").getStyleAttributes().setWrapText(true); }