Swing versus SWT

前端 未结 2 488
[愿得一人]
[愿得一人] 2020-12-19 16:19

What criteria should I use to choose between SWT and Swing? I assume they both provide satisfactory GUI performance and platform availability.

My personal criteria c

2条回答
  •  粉色の甜心
    2020-12-19 16:43

    It can be hard to get the layuots exact the way you want in SWT, it's usually easier in Swing. In SWT you also need to pass in the parent component in the constructor when you create a child component. This can make it a little bit tricker if you want to create a gui that changes dynamically. Otherwise, SWT is very easy to work with.

提交回复
热议问题