为什么在NetBeans中”Applet”一词被标记为删除?

huangapple go评论80阅读模式
英文:

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.

huangapple
  • 本文由 发表于 2020年4月6日 21:23:56
  • 转载请务必保留本文链接:https://go.coder-hub.com/61060861.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定