blob: 17021fc0f9a16c441f196608f59dd38ee1e8d724 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
package bjc.rgens.gui;
import javax.swing.JDesktopPane;
import javax.swing.JFrame;
import javax.swing.JMenu;
import javax.swing.JMenuBar;
import bjc.utils.gui.layout.AutosizeLayout;
public class GrammarStudioFrame extends JFrame {
private static final long serialVersionUID = 1476431892446002428L;
public GrammarStudioFrame() {
super("Grammar Studio");
setLayout(new AutosizeLayout());
JDesktopPane mainPane = new JDesktopPane();
JMenuBar menuBar = new JMenuBar();
JMenu fileMenu = new JMenu("File");
fileMenu.setMnemonic('m');
menuBar.add(fileMenu);
setJMenuBar(menuBar);
add(mainPane);
}
}
|