英文:
Why the word Applet is Striken in netbeans?
问题
当我试图在NetBeans中扩展Applet时,单词"Applet"被划掉了。我也已经导入了所需的包。有人可以解释为什么会发生这种情况,以及我该如何停止这种情况发生吗?
英文:
when I tried to extend Applet in netbeans, the word Applet is striked. I have also imported the required packages. can anybody explain why this is happening and how do i stop this?
答案1
得分: 1
Stricken表示它已被弃用,如果你在集成开发环境中将鼠标悬停在它上面,可能会显示相应信息。
弃用的软件包通常非常古老,并且有替代品。它们不会立即从库中移除,因为那会破坏旧代码。它们不再得到维护,并将在未来的Java版本中被移除。如果你正在遵循某种教程来学习这门语言,那么该教程很可能非常古老。
英文:
Stricken means it is deprecated, and it will probably tell you so if you hover it in your IDE.
Deprecated packages are usually very old and have replacements. They aren't removed immediately from the library because that would break old code. They're not maintained and will be removed with future versions of java. If you're following some sort of tutorial to learn the language, it is likely very old.
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论