Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » Java2D equiv. for SWT?
Java2D equiv. for SWT? [message #445936] Mon, 15 November 2004 11:32 Go to next message
MP Mising name is currently offline MP Mising nameFriend
Messages: 18
Registered: July 2009
Junior Member
I began a project using SWT. When I needed to begin to rotate images in
the project, I found myself switching back to Swing to be able to use
Java2D, since the mixture of SWT and AWT (for the Java2D Stuff) did not
work correctly on OSX. Is there an equivalent for Java2D in SWT in
which I can rotate images and draw directly to a canvas?

MP
Re: Java2D equiv. for SWT? [message #445990 is a reply to message #445936] Mon, 15 November 2004 18:03 Go to previous message
Veronika Irvine is currently offline Veronika IrvineFriend
Messages: 1272
Registered: July 2009
Senior Member
Have you seen the following snippet:

http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.swt.sni ppets/src/org/eclipse/swt/snippets/Snippet139.java?rev=HEAD& amp;content-type=text/vnd.viewcvs-markup

Also, there is org.eclipse.draw2d:

http://eclipse.org/articles/Article-GEF-Draw2d/GEF-Draw2d.ht ml

"MP" <dev1@levelgroundmedia.com> wrote in message
news:cna3q4$ika$1@eclipse.org...
>I began a project using SWT. When I needed to begin to rotate images in
>the project, I found myself switching back to Swing to be able to use
>Java2D, since the mixture of SWT and AWT (for the Java2D Stuff) did not
>work correctly on OSX. Is there an equivalent for Java2D in SWT in which I
>can rotate images and draw directly to a canvas?
>
> MP
Previous Topic:Change fonts in SWT?
Next Topic:3 Problems with wrapping ToolBars which contain Components in special separator items
Goto Forum:
  


Current Time: Sat Apr 27 05:08:48 GMT 2024

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

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

Back to the top