呼唤远方
label.setFont(f.getFont().deriveFont(Font.PLAIN, 18f));deriveFont(float size)Creates a new Font object by replicating the current Font object and applying a new > > size to it.deriveFont(int style, float size)Creates a new Font object by replicating this Font object and applying a new style and > size.Reference: Java8 doc