-package awt2swing;\r
-\r
-import javax.swing.JFrame;\r
-\r
-public class Frame extends JFrame {\r
-\r
- public Frame(String title) {\r
- super(title);\r
- }\r
-\r
- public Frame() {\r
- super();\r
- }\r
-\r
- public void remove(int i) {\r
- /**\r
- * SwingJ has a somewhat reduced method set; we just use\r
- * this interface to add ones we feel we need.\r
- * \r
- * @j2sNative\r
- * \r
- * this.removeInt(i);\r
- * \r
- */\r
- {\r
- super.remove(i);\r
- }\r
- }\r
- \r
- public void setMenuBar(MenuBar m) {\r
- setJMenuBar(m);\r
- }\r
-\r
- public void unsetMenuBar() {\r
- setJMenuBar(null);\r
- }\r
-\r
-\r
- public MenuBar getMenubar() {\r
- return (MenuBar) getJMenuBar();\r
- }\r
-\r
-}\r
+package awt2swing;
+
+import javax.swing.JFrame;
+
+public class Frame extends JFrame {
+
+ public Frame(String title) {
+ super(title);
+ }
+
+ public Frame() {
+ super();
+ }
+
+ public void remove(int i) {
+ /**
+ * SwingJ has a somewhat reduced method set; we just use
+ * this interface to add ones we feel we need.
+ *
+ * @j2sNative
+ *
+ * this.removeInt(i);
+ *
+ */
+ {
+ super.remove(i);
+ }
+ }
+
+ public void setMenuBar(MenuBar m) {
+ setJMenuBar(m);
+ }
+
+ public void unsetMenuBar() {
+ setJMenuBar(null);
+ }
+
+
+ public MenuBar getMenubar() {
+ return (MenuBar) getJMenuBar();
+ }
+
+}