This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma 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?