Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Albireo » Advice on getting started?
Advice on getting started? [message #573096] Fri, 12 October 2007 20:18
Chris Kwon Lewis is currently offline Chris Kwon LewisFriend
Messages: 24
Registered: July 2009
Junior Member
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?

here is a screen shot of how my program looks currently:

The part that is labeled "canvas" is where I will need to put the swing
part. The swing I will be using is a JComponent when it comes down to it
after all the extending.

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?

Any help or insight would be greatly appreciated. Thanks
Previous Topic:CTRL-C stack overflow
Next Topic:For Starters...
Goto Forum:

Current Time: Sat Sep 22 20:22:48 GMT 2018

Powered by FUDForum. Page generated in 0.04017 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top