Example: change font size java swing // make sure the new size is a float, not an int (add f at the end of the number) label.setFont(label.getFont().
確定! 回上一頁