So, in the case of a JButton, if the third argument was text, then this would equate to a setText() call, where the argument to the method was represented by the String sent into the fourth argument.
所以,对于 JButton ,如果第三个参数是 text ,那么这相当于一个 setText() 调用,该方法所需要的参数是由传递给第四个参数的 String 来表示的。
youdao