Anyone use SWT?

Sharky Forums


Results 1 to 4 of 4

Thread: Anyone use SWT?

  1. #1
    NullPointerException rock's Avatar
    Join Date
    Sep 2000
    Location
    York, PA
    Posts
    6,203

    Anyone use SWT?

    I've been scrounging for good SWT documentation and keep coming up empty. I've been through the Java Developer Forums without any luck as well.

    Basically, I'm trying to investigate SWT to see if it's worthwhile for the company to create some classes to help Eclipse/SWT users implement our graphics classes. The best way to do this is to write some wrapper classes and try them out.

    I've managed to extend Canvas, but am really not getting very far - I just need some examples/docs. Anyone with any real SWT experience (i.e., other than letting Eclipse write all the code for you!).
    Last edited by rock; 04-24-2003 at 09:21 AM.

    Open Source is free like a puppy is free.

    It's only when you look at an ant through a magnifying glass on a sunny day that you realise how often they burst into flames.

    Understanding Evolution

  2. #2
    NullPointerException rock's Avatar
    Join Date
    Sep 2000
    Location
    York, PA
    Posts
    6,203
    Doing a bit more research. Instead of continuing to edit above, here's what I need now:

    The graphics objects we use currently require a java.awt.Component, to which many things are added, including MouseListeners and MouseMotionListeners. It also uses java.awt.Graphics objects.

    What I'm starting to think is that any move to SWT would require a complete re-write of this main class too. It's not just a matter of giving another entry point (i.e., besides extending JPanel, JFrame and now swt.Canvas), but whole other set of classes. If so, this isn't going to be worth the effort.

    If anyone has any similar or other experiences with SWT and using Swing/AWT objects, I'm all ears!

    Open Source is free like a puppy is free.

    It's only when you look at an ant through a magnifying glass on a sunny day that you realise how often they burst into flames.

    Understanding Evolution

  3. #3
    NullPointerException rock's Avatar
    Join Date
    Sep 2000
    Location
    York, PA
    Posts
    6,203
    Duplicate post deleted.
    Last edited by rock; 04-24-2003 at 10:12 AM.

    Open Source is free like a puppy is free.

    It's only when you look at an ant through a magnifying glass on a sunny day that you realise how often they burst into flames.

    Understanding Evolution

  4. #4
    Expensive Sushi
    Join Date
    Dec 2002
    Posts
    9
    Did you see http://www.eclipse.org/articles/index.html ?

    Other than that, try http://www.ibm.com/developerworks/, I've seen a few SWT articles and tutorials at those sites.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •