WordCram icon indicating copy to clipboard operation
WordCram copied to clipboard

Possible to run in SWT instead of Swing?

Open GroovySquirl opened this issue 11 years ago • 2 comments

Any thoughts on how you might set things up to work in SWT instead of Swing?

GroovySquirl avatar Apr 05 '13 19:04 GroovySquirl

I'm not sure. WordCram doesn't depend on Swing (unless some of Processing's guts are Swing, which I don't believe), so I'd guess it should Just Work. I've never worked with SWT.

Have you tried? Any particular problems you're seeing?

danbernier avatar Apr 06 '13 20:04 danbernier

The issue is that SWT is just "different" and you can't add the Applet to a Composite easily, like with JPanel.add(this).

I'll try going down this path -> http://christian.liljedahl.dk/guides/processing-and-swt-in-eclipse but it requires a lot of rejigging for my solution and I may just abandon.

GroovySquirl avatar Apr 08 '13 14:04 GroovySquirl