简体   繁体   English

为什么 netbeans 中的 Applet 这个词是 Striken?

[英]Why the word Applet is Striken in netbeans?

when I tried to extend Applet in netbeans, the word Applet is striked.当我尝试在 netbeans 中扩展 Applet 时,Applet 一词被击中。 I have also imported the required packages.我还导入了所需的包。 can anybody explain why this is happening and how do i stop this?任何人都可以解释为什么会发生这种情况以及我该如何阻止这种情况?

Stricken means it is deprecated, and it will probably tell you so if you hover it in your IDE. Stricken 意味着它已被弃用,它可能会告诉你,如果你在 IDE 中使用 hover 它。

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.它们没有得到维护,将在 java 的未来版本中删除。 If you're following some sort of tutorial to learn the language, it is likely very old.如果您正在按照某种教程来学习该语言,那么它可能已经很老了。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM