java数据结构之家族亲属关系查询系统 下载本文

else if(getjTF14col==5){ if(getjTF15col==1){

if(getNanNvjTF14){

jTextField18.setText(\丈夫\ jTextField19.setText(\妻子\ } else {

jTextField18.setText(\妻子\ jTextField19.setText(\丈夫\ 1

if(getjTF14col==1){

if(getjTF15col==3){ if(getNanNvjTF14)

jTextField18.setText(\ else

jTextField18.setText(\ jTextField19.setText(\ }

else if(getjTF15col==4){ if(getNanNvjTF14)

jTextField18.setText(\ else

jTextField18.setText(\ } }

else if(getjTF15col==3){

if(isNanOrNv((String) jTable1.getValueAt(row,1))){ jTextField18.setText(\儿媳\ jTextField19.setText(\公公\ } else {

jTextField18.setText(\女婿\ jTextField19.setText(\岳父\ } } 儿子\女儿\父亲\儿子\女儿\

jTextField19.setText(\母亲\ }

else if(getjTF15col==5){ if(getNanNvjTF14){

jTextField18.setText(\丈夫\ jTextField19.setText(\妻子\ } else {

jTextField18.setText(\妻子\ jTextField19.setText(\丈夫\ } }

else if(getjTF15col==6){ if(getNanNvjTF14){

jTextField18.setText(\父亲\ if(getNanNvjTF15)

jTextField19.setText(\儿子\ else

jTextField19.setText(\女儿\ } else{

jTextField18.setText(\母亲\ if(getNanNvjTF15)

jTextField19.setText(\儿子\ else

jTextField19.setText(\女儿\ } } else ;

}

else if(getjTF14col==3){ if(getjTF15col==1){

jTextField18.setText(\父亲\ if(getNanNvjTF14)

jTextField19.setText(\儿子\ else

jTextField19.setText(\女儿\ }

else if(getjTF15col==4){

jTextField18.setText(\丈夫\

jTextField19.setText(\妻子\ }

else if(getjTF15col==5){ if(getNanNvjTF14){

jTextField18.setText(\公公\ jTextField19.setText(\儿媳\ } else {

jTextField18.setText(\岳父\ jTextField19.setText(\女婿\ } }

else if(getjTF15col==6){

if(isNanOrNv((String) jTable1.getValueAt(row,1))){ jTextField18.setText(\爷爷\ if(getNanNvjTF15)

jTextField19.setText(\孙子\ else

jTextField19.setText(\孙女\

} else {

jTextField18.setText(\外公\ if(getNanNvjTF15)

jTextField19.setText(\外甥\ else

jTextField19.setText(\ } }

else ; }

外甥女\