Java Swing deprecated in favor of JavaFx 2.0 [closed]

◇◆丶佛笑我妖孽 提交于 2019-12-06 00:00:38

问题


Am I correct that Oracle has deprecated Swing and that JavaFx 2.0 is it's official replacement?

This makes sense to me because it would seem kind of goofy for oracle to maintain the development of two competing api's that do pretty much the same thing. Yet Oracle has introduced enhancements like translucent windows, shaped windows, etc into the java 7 swing api. I take it this may be for transitional purposes but still I'd really appreciate it if someone could clue me on what the current 'standard' or 'best practice' choice is for new applications - Swing or javafx 2.0? Another source of unanswered questions seems to be the fate of Java 2D. Is it worth mastering that API now that another graphics engine, Prism, uunderlies JavaFx 2.0?

Much Thanks, Marc

来源:https://stackoverflow.com/questions/12031637/java-swing-deprecated-in-favor-of-javafx-2-0

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!