| [news.eclipse.technology.albireo] Re: Advice on getting started? |
I thought it would be best to ask a few questions before diving into my project of combining swt and swing.
First, thanks for that snippet you posted Gordon. I noticed you used
"EmbeddedSwingComposite" like an object. Currently it is an abstract class, do you recommend making it non abstract and just putting in the code I want for createSwingComponent() to suit my own program?
Basically: NetCanvas(My file) extends PCanvas(Piccolo) PCanvas(Piccolo) extends JComponent (swing)
So as of now, I'm thinking:
1)Use a swt component to hold the JComponent (NetCanvas) in it
2)Bring your examples folder into my workspace to use as helper classes for EmbeddedSwingComposite.
3)Making the EmbeddedSwingComposite non abstract and putting my code into createSwingComponent()
Does that sound about right? Also I notice James submitted some suggestions, do I need to fix anything major to the sample code as of right now?
Also I'm still a little unclear on the things I need to schedule individually for swing and swt. What type of general things need to be scheduled by me?