为什么JavaFX中的这个标签在从int转换后拒绝以下字符串
final int moonPhase = m.illuminatedPercentage();
System.out.println("The moon is " + moonPhase + "% full");
System.out.println("The next full moon is on: " + MoonPhaseFinder.findFullMoonFollowing(Calendar.getInstance()));
System.out.println("The next new moon is on: " + MoonPhaseFinder.findNewMoonFollowing(Calendar.getInstance()));
myLabel.setText(moonPhase.toString());
我收到以下错误
error: int cannot be dereferenced myLabel.setText(moonPhase.toString());