<?xml version="1.0" encoding="UTF-8" ?><rdf:RDF 
  xmlns="http://purl.org/rss/1.0/"
  xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
  xmlns:atom="http://www.w3.org/2005/Atom"
  xmlns:dc="http://purl.org/dc/elements/1.1/"
  xml:lang="ja">
  <channel rdf:about="http://w.atwiki.jp/uechi/">
    <title>uechi のメモ @ ウィキ</title>
    <link>http://w.atwiki.jp/uechi/</link>
    <atom:link href="https://w.atwiki.jp/uechi/rss10.xml" rel="self" type="application/rss+xml" />
    <atom:link rel="hub" href="https://pubsubhubbub.appspot.com" />
    <description>uechi のメモ @ ウィキ</description>

    <dc:language>ja</dc:language>
    <dc:date>2008-01-13T20:25:57+09:00</dc:date>
    <utime>1200223557</utime>

    <items>
      <rdf:Seq>
                <rdf:li rdf:resource="https://w.atwiki.jp/uechi/pages/24.html" />
                <rdf:li rdf:resource="https://w.atwiki.jp/uechi/pages/23.html" />
                <rdf:li rdf:resource="https://w.atwiki.jp/uechi/pages/22.html" />
                <rdf:li rdf:resource="https://w.atwiki.jp/uechi/pages/20.html" />
                <rdf:li rdf:resource="https://w.atwiki.jp/uechi/pages/19.html" />
                <rdf:li rdf:resource="https://w.atwiki.jp/uechi/pages/18.html" />
                <rdf:li rdf:resource="https://w.atwiki.jp/uechi/pages/16.html" />
                <rdf:li rdf:resource="https://w.atwiki.jp/uechi/pages/15.html" />
                <rdf:li rdf:resource="https://w.atwiki.jp/uechi/pages/14.html" />
                <rdf:li rdf:resource="https://w.atwiki.jp/uechi/pages/13.html" />
              </rdf:Seq>
    </items>
	
		
    
  </channel>
    <item rdf:about="https://w.atwiki.jp/uechi/pages/24.html">
    <title>メニュー２</title>
    <link>https://w.atwiki.jp/uechi/pages/24.html</link>
    <description>
      **[[メニュー２]]
自分用のショートカット

-[[swt参照HP]]
-[[Draw2D参照HP]]    </description>
    <dc:date>2008-01-13T20:25:57+09:00</dc:date>
    <utime>1200223557</utime>
  </item>
    <item rdf:about="https://w.atwiki.jp/uechi/pages/23.html">
    <title>Fuzetu.java</title>
    <link>https://w.atwiki.jp/uechi/pages/23.html</link>
    <description>
      import org.eclipse.swt.widgets.*;

public class Fuzetu {

	public static void main(String[] args) {
		
		Display display = new Display();
		Shell shell = new Shell(display);
		
		// タイトル・サイズ指定
		shell.setText(&quot;封絶！&quot;);
		shell.setSize(200, 200);
	    
		shell.open();
		while (!shell.isDisposed ()){
			if (!display.readAndDispatch ()){
				display.sleep ();
			}
		}
	    
		display.dispose ();

	}
	
}    </description>
    <dc:date>2008-01-13T20:04:26+09:00</dc:date>
    <utime>1200222266</utime>
  </item>
    <item rdf:about="https://w.atwiki.jp/uechi/pages/22.html">
    <title>windowを作る（Shell）</title>
    <link>https://w.atwiki.jp/uechi/pages/22.html</link>
    <description>
      windowを作る（Shell）

すごく見辛いな・・・
後でどうにかしよう。

#highlight(){{
import org.eclipse.swt.widgets.*;
public class Fuzetu {

    public static void main(String[] args) {
		
        Display display = new Display();
        Shell shell = new Shell(display);
		
        // タイトル・サイズ指定
         shell.setText(&quot;封絶！&quot;);
        shell.setSize(200, 200);
	    
        shell.open();
        while (!shell.isDisposed ()){
            if (!display.readAndDispatch ()){
                display.sleep ();
            }
        }

        display.dispose ();
    }
	
} 
}}    </description>
    <dc:date>2008-01-15T08:46:07+09:00</dc:date>
    <utime>1200354367</utime>
  </item>
    <item rdf:about="https://w.atwiki.jp/uechi/pages/20.html">
    <title>Eclipseでクラスパス変数を通す</title>
    <link>https://w.atwiki.jp/uechi/pages/20.html</link>
    <description>
      *Eclipseでクラスパス変数を通す

編集中




----    </description>
    <dc:date>2008-01-13T17:17:36+09:00</dc:date>
    <utime>1200212256</utime>
  </item>
    <item rdf:about="https://w.atwiki.jp/uechi/pages/19.html">
    <title>swtを使用する（Eclipse）</title>
    <link>https://w.atwiki.jp/uechi/pages/19.html</link>
    <description>
      *swtを使用する（Eclipse）
&amp;size(10){&#039;&#039;編集中・さらに、他人用に書いていません。&#039;&#039;}

Eclipseで[[swt]]を使えるようにするための設定方法です。
（バージョンは　Eclipse-3.2.2）


**必要なもの
ここは読み飛ばして問題ないと思います。

-swt.jar（最新版のSWTをとってきて、そのファイルの中にあった）
　　もしくは
-org.eclipse.swt.win32.win32.x86_3.なんてろ.jar
-swt-なんてろかんてろ.dll（複数ある）(上のものにはいっている・・・？）

適当すぎますが、こんな感じのものが必要です。

これらは、Eclipse にすでに入っているはずなので、気にしないで下さい。

無い場合は[[http://www.eclipse.org/swt/]]からDLできると思います。



**設定方法
ここは簡単に、プロジェクトにインポートする方法で。

***&amp;bold(){方法１}
-プロジェクトのプロパティー→javaのビルドパス→ライブラリー→外部jarの追加からorg.eclipse.swt.win32.win32.x86_3.なんてろ.jarを追加。
-追加したそれに、ソース添付で、ファイルの位置を指定。

これで、.dllファイルも一緒に入っているはず。


***&amp;bold(){方法2}
-swtの最新版を取ってくる。→それを置いた場所のswt.jarに[[クラスパス変数を通す&gt;Eclipseでクラスパス変数を通す]]。（変数名は適当にSWTとか）→方法１のライブラリー→変数の追加でその変数を追加。→同じようにソース添付


----

完全にメモですみません。
さらに、自分も完全には理解できていません。
まあ、動けばOKってことで。

----


***&amp;bold(){Eclipseを使わない時}
コマンドラインから動かしたいとかいった時は、このあたりを参考にするとよいようです。（ただし、ヴァージョンが2.～だったりしてます。）

-[[SWTonWindows&gt;http://amateras.sourceforge.jp/cgi-bin/fswiki/wiki.c    </description>
    <dc:date>2008-01-13T17:33:21+09:00</dc:date>
    <utime>1200213201</utime>
  </item>
    <item rdf:about="https://w.atwiki.jp/uechi/pages/18.html">
    <title>swtとは？</title>
    <link>https://w.atwiki.jp/uechi/pages/18.html</link>
    <description>
      *swtとは？

&amp;size(20){&#039;&#039;編集中です。&#039;&#039;}

-SWTはStandard Widget Toolkitの略。

-OS固有のAPIを使用。
--Swingよりも軽快に動く・・・が、Swingの動作速度も速くなってきており、この点での優位は少なくなってきている？

-Eclipseもswtを使用して作成されている。

-スタンドアロンのアプリケーションにも使用できる。





----    </description>
    <dc:date>2008-01-13T13:56:39+09:00</dc:date>
    <utime>1200200199</utime>
  </item>
    <item rdf:about="https://w.atwiki.jp/uechi/pages/16.html">
    <title>参照HP</title>
    <link>https://w.atwiki.jp/uechi/pages/16.html</link>
    <description>
      *参照HP
-[[ObserverEclipse&gt;http://www13.plala.or.jp/observe/index.html]]

**swt参照HP
-[[SWT Tips and Samples &gt;http://cjasmin.fc2web.com/top_basic.html]]
-[[ObserverEclipse -SWT&gt;http://www13.plala.or.jp/observe/index.html#swt]]
-[[SWTサンプル集&gt;http://amateras.sourceforge.jp/cgi-bin/fswiki/wiki.cgi/swt?page=Introduction]]
-[[SWTとJFace－第一回&gt;http://www.ibm.com/developerworks/jp/opensource/library/os-jface1/index.html]]

**Draw2D参照HP
-[[ObserverEclipse-Draw2D入門&gt;http://www13.plala.or.jp/observe/index.html#draw2d]]
-[[初めてのDraw2D&gt;http://www.xucker.jpn.org/java/eclipse/draw2d_first.html]]


----    </description>
    <dc:date>2008-01-13T09:56:55+09:00</dc:date>
    <utime>1200185815</utime>
  </item>
    <item rdf:about="https://w.atwiki.jp/uechi/pages/15.html">
    <title>Draw2D参照HP</title>
    <link>https://w.atwiki.jp/uechi/pages/15.html</link>
    <description>
      *Draw2D参照HP

-[[Draw2D入門&gt;http://www13.plala.or.jp/observe/index.html#draw2d]]

-[[初めてのDraw2D&gt;http://www.xucker.jpn.org/java/eclipse/draw2d_first.html]]



----    </description>
    <dc:date>2008-01-13T09:53:29+09:00</dc:date>
    <utime>1200185609</utime>
  </item>
    <item rdf:about="https://w.atwiki.jp/uechi/pages/14.html">
    <title>Draw2D</title>
    <link>https://w.atwiki.jp/uechi/pages/14.html</link>
    <description>
      *Draw2D

-編集中

**その他

-[[Draw2D参照HP]]


----    </description>
    <dc:date>2008-01-13T17:35:46+09:00</dc:date>
    <utime>1200213346</utime>
  </item>
    <item rdf:about="https://w.atwiki.jp/uechi/pages/13.html">
    <title>swt参照HP</title>
    <link>https://w.atwiki.jp/uechi/pages/13.html</link>
    <description>
      *swt参照HP

-[[SWT Tips and Samples &gt;http://cjasmin.fc2web.com/top_basic.html]]

-[[ObserverEclipse -SWT&gt;http://www13.plala.or.jp/observe/index.html#swt]]

-[[SWTサンプル集&gt;http://amateras.sourceforge.jp/cgi-bin/fswiki/wiki.cgi/swt?page=Introduction]]

-[[SWTとJFace－第一回&gt;http://www.ibm.com/developerworks/jp/opensource/library/os-jface1/index.html]]




----    </description>
    <dc:date>2008-01-13T09:52:53+09:00</dc:date>
    <utime>1200185573</utime>
  </item>
  </rdf:RDF>
