JAL-1807 Bob's first commit -- Applet loaded; needs image
[jalview.git] / src / awt2swing / Frame.java
1 package awt2swing;
2
3 import javax.swing.JFrame;
4
5 public class Frame extends JFrame {
6
7         public Frame(String title) {
8                 super(title);
9                 /**
10                  * @j2sNative
11                  * 
12                  * xxxf = this;
13                  */
14                 {}
15         }
16
17         public Frame() {
18                 super();
19                 /**
20                  * @j2sNative
21                  * 
22                  * xxxf = this;
23                  */
24                 {}
25         }
26
27         public void remove(int i) {
28                 /**
29                  * SwingJ has a somewhat reduced method set; we just use
30                  * this interface to add ones we feel we need.
31                  * 
32                  * @j2sNative
33                  * 
34                  * this.removeInt(i);
35                  * 
36                  */
37                 {
38                         super.remove(i);
39                 }
40         }
41         
42         public void setMenuBar(MenuBar m) {
43                 setJMenuBar(m);
44         }
45
46   public void unsetMenuBar() {
47         setJMenuBar(null);
48         }
49
50
51         public MenuBar getMenubar() {
52                 return (MenuBar) getJMenuBar();
53         }
54
55 }