What framework must I use to develop mobile native application?

Can you use Eclipse RCP as application framework but start with Swing GUI?

  • Want to use RCP as Application framework but need to render GUI with Swing (custom widgets/controls).

  • Answer:

    I haven't used it myself yet but when I started developing RCP applications I came across the SWT AWT bridge, which helps you integrating elements of the AWT UI toolkit (so Swing as well) into SWT. In terms of good Software Engineering (in this case future maintainability) it probably would be more advisable to rebuild the components therefore using just one UI toolkit at a time instead of forcing a difficult integration but cleary that is up to you. Here's the link to the referring article on http://eclipse.org which may help you getting startet with Swing integration into SWT. http://www.eclipse.org/articles/article.php?file=Article-Swing-SWT-Integration%2Findex.html

Alexander Hundt at Quora Visit the source

Was this solution helpful to you?

Other answers

It can be done but a little bit intricacy underlies here. In Eclipse 4 RCP, you have to have swing connector for using it with Eclipse 4 Platform Framework. There are lots of open source connector out there for Java FX (e(fx)clipse). You have to create one connector for your own but I would love to suggest you using SWT as its integration with Eclipse 4 RCP is excellent and by default it will give you platform independent usage of your application. If you are desperate enough to use SWING, then use Netbeans RCP as it is well integrated with SWING.

Amit Kumar Mondal

As mentioned by  Alexander in one of the answers, we can use SWT AWT bridge for that. But it is not recommended. It has its own downfalls. So, as far as possible we should avoid doing this.

Ankit Sambyal

Just Added Q & A:

Find solution

For every problem there is a solution! Proved by Solucija.

  • Got an issue and looking for advice?

  • Ask Solucija to search every corner of the Web for help.

  • Get workable solutions and helpful tips in a moment.

Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.