Where are Swing applications used?

前端 未结 16 1446
难免孤独
难免孤独 2021-02-04 05:44

Are Swing applications really used nowadays? I don\'t find a place where they are used. Is it okay to skip the AWT and Swing package (I learned a bit of the basics though)?

16条回答
  •  面向向阳花
    2021-02-04 06:36

    If you are writing for the web exclusively, you can probably skip Swing, but otherwise you're absolutely going to run into it. I've never worked on a non-trivial Java app without a Swing GUI.

    Also, Swing is one of the better APIs to use. If you use most others, you are going to find them more difficult to use and/or platform incompatible. (If anyone reading this is aware of exceptions to this, please leave comments, I haven't looked for a while and am kind of curious if anything better has become available)

    Other JVM languages like JRuby and Jython are often used because of their access to Swing.

提交回复
热议问题