javaeclipseandroid-studiointellij-ideaswt

Is it possible to use SWT on Android-Studio or IntelliJ?


I've used Android-Studio for a long time, and I got used to it over Eclipse.

I wish to create an SWT app for PCs (windows, Linux, macOs) , and use a nice UI mechanism like Window-Builder that used to exist for Eclipse.

Is it a possible thing to do on Android-Studio or IntelliJ ?

If so, how?


Solution

  • There is no visual UI editor like WindowBuilder to create SWT UIs in IntelliJ.

    But you certainly can create SWT applications with IntelliJ or any other non-Eclipse IDE for that matter. In my opinion, UI designer are overrated and UIs can be equally well implemented by hand. Thus if you are willing implement the UI in code you simply need to get a copy of the SWT library and you are set.

    If you follow the redirects from this question it will guide you to maven artifacts of SWT: maven project: SWT 3.5 dependency: any official public repo?

    Note that SWT comes with a native part that might make extra settings necessary to launch your application.