How to change the font of JLabel without chaning style or size?

前端 未结 0 1508
情歌与酒
情歌与酒 2021-02-07 01:10

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

相关标签:
回答
  • 消灭零回复
提交回复
热议问题