mmh qualcosa tipo questo

codice:
Font cFont = new Font(charOfFont, 
decOfFont1.substring(0,1) != "no" ? Font.decOfFont1 : ,
decOfFont2.substring(0,1) != "no" ? Font.decOfFont2 : ,
decOfFont3.substring(0,1) != "no" ? Font.decOfFont3 : ,
sizeOfFont);