OSDN Git Service

[1] First checkin.
authorU-tackya-PC\tackya <yammouch@users.sourceforge.jp>
Sat, 18 Jun 2011 05:55:47 +0000 (14:55 +0900)
committerU-tackya-PC\tackya <yammouch@users.sourceforge.jp>
Sat, 18 Jun 2011 05:55:47 +0000 (14:55 +0900)
swing/jframe/SSample4_1.clj [new file with mode: 0755]

diff --git a/swing/jframe/SSample4_1.clj b/swing/jframe/SSample4_1.clj
new file mode 100755 (executable)
index 0000000..446c91d
--- /dev/null
@@ -0,0 +1,10 @@
+; If xyzzy did not judge char encoding, type following command
+; C-u M-x revert-buffer [Enter] utf8n
+
+(ns jframe.SSample1_1
+  (:import (javax.swing JFrame)))
+
+(let [frame (JFrame. "タイトル")]
+  (.setBounds frame 100 100 200 160)
+  (.setDefaultCloseOperation frame JFrame/EXIT_ON_CLOSE)
+  (.setVisible frame true))