Setting the font of a JLabel goes like JLabel.setFont(new Font("Verdana", Font.BOLD, 18)); So I have to pass all the 3 variables into to the Font cons