Is Java Swing still in use?

后端 未结 11 2105
鱼传尺愫
鱼传尺愫 2020-12-05 17:32

I am planning on making a Java Swing application and was wondering if Swing is still used or if it has been replaced with something else.

Thanks in advance!

相关标签:
11条回答
  • 2020-12-05 17:57

    Yes, it's still in use. Takes while to get used to but once you have it, it's a pretty nice framework for writing applications. Have a look at Webstart for deploying your application. Also a bit of a clunker to start with but really handy when you're comfortable

    0 讨论(0)
  • 2020-12-05 18:06

    Yes, it still is in use. The library is still part of the JRE, and will probably be that way for the future. There are other options though. For instance, you may want to look at JavaFX if you need a rich UI; or using SWT in your application. Maybe you want some kind of 3D effects, and you need to look into a 3D engine like jpct or the jmonkeyengine. Java has progressed somewhat since the software Swing world.

    0 讨论(0)
  • 2020-12-05 18:08

    You can still use Java Swing, though I'd recommend using JavaFX. Designing UIs is easier as the SceneBuilder helps you do just that. It is also newer, so longer support and development. The advantage of Swing is that it has been out for quite a long time, so you'll find more tutorials and help for Swing, but JavaFX is catching up. If you'd like to learn JavaFX, I recommend following the tutorial series by thenewboston on YouTube.

    0 讨论(0)
  • 2020-12-05 18:09

    Yes it is still in use.

    Update: It's still in use.

    0 讨论(0)
  • 2020-12-05 18:10

    Although swing is still in use, I would rather chose Eclipse RCP as a platform for desktop applications, since it also provides a huge amount of plugins.

    0 讨论(0)
提交回复
热议问题