I am in the middle of converting an application that uses swing and awt to draw things to SWT. Since it's sort of overwhelming I'm going through, replacing all references to "awt" to the corresponding swt type. That works for rectangles (only a few methods had to be renamed) but there are some types I don't know how to deal with. If you know about any of these please respond :)
I have a rectangle object but no RoundRectangle. However there is a roundrectangle fill. Would the easiest thing to do be my creating a new object that behaves like RoundRectangle?
What to do about Stroke, Path2d, Arc2D, Line2D?
Are Composite and AlphaComposite used in SWT? What about GraphicsEnvironment and RenderingHints?
I also see Dimension in here but I'm assuming that's just handled differently with a Canvas vs a JFrame.