jlabel是什么意思

时间:
管理员
分享
标签: 意思 jlabel 什么

管理员

摘要:

  The second line of the error message says you are trying to add a JLabel to what the third error line is reporting as a List of JButton objects.  错误消息的第二行表明,您尝试将一个JLabel添加到第三个错误行报告的JButton对象的List。  Then, if you try……

  The second line of the error message says you are trying to add a JLabel to what the third error line is reporting as a List of JButton objects.

  错误消息的第二行表明,您尝试将一个JLabel添加到第三个错误行报告的JButton对象的List。

  Then, if you try to add a JLabel to that collection, the compiler picks up the discrepancy and complains at compile time.

  然后,如果想要将JLabel添加到集合,则编译器会在编译时发现差异和并抛出异常。