Can I run my swt code in a rcp application, when I am running in swt it works fine when trying to do so from rcp app getting:
Exception in thread "main" java.lang.IllegalArgumentException: Argument cannot be null
at org.eclipse.swt.SWT.error(SWT.java:4263)
Eclipse is based on SWT so you can re-use your code. But you cannot reuse your GUI. You have to create a
Viewinstead. Try to google for an example, there are many.