OSDN Git Service

Merge branch 'master' of ssh://www.deister.jp/mnt/hdb1/git/hayashi
[hayashilib/hayashi.git] / src / hayashi / yuu / tools / properties / CategoryBox.java
index 6e06352..43a35e7 100644 (file)
@@ -1,24 +1,24 @@
-package hayashi.yuu.tools.properties;
-
-import java.awt.GridLayout;
-import javax.swing.BorderFactory;
-import javax.swing.JComponent;
-import javax.swing.JPanel;
-
-/**
- * 枠で囲まれたパネル
- */
-public class CategoryBox {
-       /**
-        * 枠で囲まれたパネル
-        * @param title パネルのタイトル
-        * @param compo パネルの内容
-        * @return 作成されたインスタンス
-        */
-       public static JPanel makePanel(String title, JComponent compo) {
-        JPanel p = new JPanel(new GridLayout(1,1));
-        p.setBorder(BorderFactory.createTitledBorder(title));
-        p.add(compo);
-        return p;
-    }
-}
+package hayashi.yuu.tools.properties;\r
+\r
+import java.awt.GridLayout;\r
+import javax.swing.BorderFactory;\r
+import javax.swing.JComponent;\r
+import javax.swing.JPanel;\r
+\r
+/**\r
+ * 枠で囲まれたパネル\r
+ */\r
+public class CategoryBox {\r
+       /**\r
+        * 枠で囲まれたパネル\r
+        * @param title パネルのタイトル\r
+        * @param compo パネルの内容\r
+        * @return 作成されたインスタンス\r
+        */\r
+       public static JPanel makePanel(String title, JComponent compo) {\r
+        JPanel p = new JPanel(new GridLayout(1,1));\r
+        p.setBorder(BorderFactory.createTitledBorder(title));\r
+        p.add(compo);\r
+        return p;\r
+    }\r
+}\r