import javax.swing.JTable; import java.awt.Font; JTable table = new JTable(); table.setFont(new Font("Serif", Font.BOLD, 20));