lbl = new JLabel("Hello");
lbl.setForeground(ASColor.RED);
lbl.setFont(lbl.getFont().changeBold(true));
lbl.setFont(lbl.getFont().changeSize(26));
frame.getContentPane().append(lbl);
JLabel加粗,大小
最新推荐文章于 2024-09-09 04:26:31 发布