[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.technology.albireo] Re: Advice on getting started?

Cklewis wrote:
Thanks, the snippet you posted was really helpful. The process was different than what I expected. I thought the composite I was suppose to make was SWT.EMBEDDED | SWT.NO_BACKGROUND.

Sorry if that was confusing. The EmbeddedSwingComposite actually wraps and builds on the SWT.EMBEDDED composite, so you don't have to create one yourself.



My program seems to be working great and performance wise I haven't noticed a difference (the program has to redraw the screen every .5 seconds or so). I have a few bugs right now and i'm hoping it's on my end and not the swing integration.


Btw do I need to ever call setFocus()?

Nothing about the Swing integration requires a setFocus(). I can't say about your particular application though...


The original code snippet I posted had a call to setFocus because it implemented a view part for the Eclipse Rich Client Platform. That wouldn't apply in your case.