Getting java applications to look native on windows - how?

前端 未结 8 2300
悲哀的现实
悲哀的现实 2021-02-08 03:13

Is it possible to use Java to create apps that look native on Windows? I don\'t care if the solution is portable or not, because I only plan to target windows users. I am using

8条回答
  •  时光说笑
    2021-02-08 03:31

    Everyone else has posted Swing things, so I'm going to play Devil's advocate and mention SWT.

    SWT is a widget toolkit produced by the Eclipse foundation. It is a thin wrapper over the system's native GUI... for Windows, OSX, and various flavors of *nix (Linux, AIX, BSDs?, etc...).

    This is the opposite route that Sun's JFC/Swing took, which draws its own components.

提交回复
热议问题