This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
My question of the day is regarding the font size in a JTable. (I think it should be pretty easy, but I dont know it). i want to be able to change the font size. I have found multiple sites which say to change the font size, I need to call table.setFont( new Font()) In the constructor I need to declare the font name, style, and size. Does Java have a list of default font styles that I can choose from, or must I provide my own font file so that i can declare a new font? Or is there some sort of method like new Font(getDefaultFont().setFontSize()) or something? If there is a list, where can I find it?