Hi! i'm doing a print function in swing....
i've some problem with changing the font style to be smaller or to another font type...can anyone give me some idea...here's the code :
i want the size of the string to be smaller than the current size..how?Code:g2.drawString(lblTitle.getText(), 0, fontHeight); g2.drawString("Checked by :", 0, (int)pageHeight-55); g2.drawString("................", 90, (int)pageHeight-55);


Reply With Quote


Bookmarks