Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Object obj2 = modelo.getValueAt(linha, 31);
- else if (snreferencia.contains("Sim")) {
- Object obj = modelo.getValueAt(linha, 30);
- if (obj == null || obj.toString().trim().isEmpty()) {
- modelo.setValueAt("", linha, 33);
- } else {
- modelo.setValueAt("Referência", linha, 33);
- }
- else if (snreferencia.contains("Sim")) {
- Object obj = modelo.getValueAt(linha, 30);
- Object obj2 = modelo.getValueAt(linha, 31);
- if (obj == null || obj.toString().trim().isEmpty()) {
- modelo.setValueAt("", linha, 33);
- }
- if (obj2 == null || obj2.toString().trim().isEmpty()) {
- modelo.setValueAt("", linha, 33);
- } else {
- modelo.setValueAt("Referência", linha, 33);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement