<?xml version="1.0" encoding="UTF-8"?>

<rss version='2.0'
     xmlns:creativeCommons="http://backend.userland.com/creativeCommonsRssModule">
    <channel>
        <!-- This XML Feed shows details for the page AWT, Swing and Java2D Integration -->
        <creativeCommons:license>http://creativecommons.org/licenses/by-sa/2.5/
          </creativeCommons:license>
        <title>AWT, Swing and Java2D Integration</title>
        <description>&lt;h2&gt;&lt;span class=&quot;caps&quot;&gt;AWT&lt;/span&gt;/Swing and &lt;span class=&quot;caps&quot;&gt;SWT&lt;/span&gt; Co-existence&lt;/h2&gt;


	&lt;p&gt;Since Eclipse 3.0, the &lt;a rel=&quot;nofollow&quot; href=&quot;http://help.eclipse.org/help33/nftopic/org.eclipse.platform.doc.isv/reference/api/org/eclipse/swt/awt/package-summary.html&quot;&gt;org.eclipse.swt.awt&lt;/a&gt; package has provided an &lt;span class=&quot;caps&quot;&gt;SWT&lt;/span&gt;_AWT bridge as part of Eclipse. It performs the very basics of hosting an &lt;span class=&quot;caps&quot;&gt;AWT&lt;/span&gt; frame inside a &lt;span class=&quot;caps&quot;&gt;SWT&lt;/span&gt; composite.&lt;/p&gt;


	&lt;p&gt;A recent &lt;a rel=&quot;nofollow&quot; href=&quot;http://www.eclipse.org/articles/article.php?file=Article-Swing-SWT-Integration/index.html&quot;&gt;Eclipse Corner Article: &lt;span class=&quot;caps&quot;&gt;SWT&lt;/span&gt; and Swing Integration&lt;/a&gt; provides more extensive sample code building on &lt;span class=&quot;caps&quot;&gt;AWT&lt;/span&gt;_SWT and dealing with some common integration issues. This code now forms the basis of the proposed 
&lt;a rel=&quot;nofollow&quot; href=&quot;http://www.eclipse.org/proposals/albireo/&quot;&gt;Eclipse Abireo Project&lt;/a&gt;&lt;/p&gt;


	&lt;p&gt;&lt;a rel=&quot;nofollow&quot; href=&quot;https://bugs.eclipse.org/bugs/buglist.cgi?quicksearch=swt_awt&quot;&gt;Known bugs for &lt;span class=&quot;caps&quot;&gt;SWT&lt;/span&gt;_AWT&lt;/a&gt;&lt;/p&gt;


	&lt;h2&gt;Swing on &lt;span class=&quot;caps&quot;&gt;SWT&lt;/span&gt;&lt;/h2&gt;


	&lt;p&gt;The &lt;a rel=&quot;nofollow&quot; href=&quot;http://swtswing.sourceforge.net&quot;&gt;SwtSwing&lt;/a&gt; ports &lt;span class=&quot;caps&quot;&gt;SWT&lt;/span&gt; to Swing, effectively treating Swing as another &lt;span class=&quot;caps&quot;&gt;GUI&lt;/span&gt;, just as win32, wpf, carbon etc are implemented by Eclipse itself. This also means that &lt;span class=&quot;caps&quot;&gt;SWT&lt;/span&gt; applications can run on platforms where there isn&amp;#8217;t a native &lt;span class=&quot;caps&quot;&gt;SWT&lt;/span&gt; binding.&lt;/p&gt;


	&lt;p&gt;The easiest way to play with SwtSwing is to use the &lt;a rel=&quot;nofollow&quot; href=&quot;http://eos.sourceforge.net/&quot;&gt;EoS&lt;/a&gt; plugin. It switches the Eclipse &lt;span class=&quot;caps&quot;&gt;IDE&lt;/span&gt; over to Swing, with a choice of look and feel &amp;#8211; worth doing this if only for the &lt;a rel=&quot;nofollow&quot; href=&quot;http://napkinlaf.sourceforge.net/&quot;&gt;Napkin LaF&lt;/a&gt;&lt;/p&gt;


	&lt;h2&gt;&lt;span class=&quot;caps&quot;&gt;SWT&lt;/span&gt; on Swing&lt;/h2&gt;


	&lt;p&gt;The &lt;a rel=&quot;nofollow&quot; href=&quot;http://swingwt.sourceforge.net&quot;&gt;SwingWT&lt;/a&gt; does the opposite of SwtSwing, implementing Swing on &lt;span class=&quot;caps&quot;&gt;SWT&lt;/span&gt;, using native peered widgets. The underlying &lt;span class=&quot;caps&quot;&gt;SWT&lt;/span&gt; controls are exposed for direct access.&lt;/p&gt;


	&lt;h2&gt;&lt;span class=&quot;caps&quot;&gt;SWT&lt;/span&gt; in Swing&lt;/h2&gt;


	&lt;p&gt;The &lt;a rel=&quot;nofollow&quot; href=&quot;http://djproject.sourceforge.net/ns/&quot;&gt;DJ Native Swing&lt;/a&gt; project uses &lt;span class=&quot;caps&quot;&gt;SWT&lt;/span&gt; internally to support native widgets inside Swing&lt;/p&gt;


	&lt;h2&gt;Java2D and Draw2D/GEF&lt;/h2&gt;


	&lt;p&gt;Two projects have bridges between Java 2D and &lt;a rel=&quot;nofollow&quot; href=&quot;http://www.eclipse.org/gef&quot;&gt;Eclipse &lt;span class=&quot;caps&quot;&gt;GEF&lt;/span&gt;&lt;/a&gt; and &lt;a rel=&quot;nofollow&quot; href=&quot;http://help.eclipse.org/help33/index.jsp?topic=/org.eclipse.draw2d.doc.isv/reference/api/org/eclipse/draw2d/package-summary.html&quot;&gt;Draw2D&lt;/a&gt;&lt;/p&gt;


	&lt;ol&gt;
	&lt;li&gt;&lt;a rel=&quot;nofollow&quot; href=&quot;http://www.holongate.org/&quot;&gt;Holongate&lt;/a&gt; &lt;/li&gt;
		&lt;li&gt;&lt;a rel=&quot;nofollow&quot; href=&quot;http://www.jfree.org/jfreechart/&quot;&gt;JFreeChart&lt;/a&gt; &amp;#8211; look under experimental &lt;span class=&quot;caps&quot;&gt;SWT&lt;/span&gt; in the source tree&lt;/li&gt;
	&lt;/ol&gt;


	&lt;h2&gt;MigLayout a Layout Manager for both &lt;span class=&quot;caps&quot;&gt;SWT&lt;/span&gt; and Swing&lt;/h2&gt;


	&lt;p&gt;&lt;a rel=&quot;nofollow&quot; href=&quot;http://www.miglayout.com&quot;&gt;MigLayout&lt;/a&gt; is a layout manager that works equally good for Swing and &lt;span class=&quot;caps&quot;&gt;SWT&lt;/span&gt;. A layout made in one framework will work equally good on the other.&lt;/p&gt;
</description>
                <category>swing</category>
        <category>SwingWT</category>
        <category>miglayout</category>
        <category>swtswing</category>
        <category>Java2D</category>
        <category>eos</category>
        <category>ged</category>
        <category>draw2d</category>
        <category>SWT</category>
        <category>Abireo</category>

        <pubDate>Sun, 07 Oct 2007 07:50:04 -0700</pubDate>
        <lastBuildDate>Thu, 10 Apr 2008 04:16:23 -0700</lastBuildDate>
            
    </channel>
</rss>
