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
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
Related Q & A:
- Can i use Shamir's secret sharing scheme for multiplicative homomorphism for secure multiparty computation?Best solution by Cryptography
- Which framework to use in my enterprise application?Best solution by Stack Overflow
- How to use RequireJS in AngularJS Application?Best solution by sitepoint.com
- Can you use Microsoft outlook express with yahoo mail. if you can how do you do it?Best solution by Yahoo! Answers
- Where can I find an online blockbuster application?Best solution by phandroid.com
Just Added Q & A:
- How many active mobile subscribers are there in China?Best solution by Quora
- How to find the right vacation?Best solution by bookit.com
- How To Make Your Own Primer?Best solution by thekrazycouponlady.com
- How do you get the domain & range?Best solution by ChaCha
- How do you open pop up blockers?Best solution by Yahoo! Answers
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.