Add UI package and JMenuBar

This commit is contained in:
antograb committed 2017-12-11 11:42:01 +01:00
1 parent c3e74a20f3
commit 0e398a7b57
5 files changed
+78

No files matched your search

+22
View File
@@ -0,0 +1,22 @@
package ui;
import javax.swing.*;
public class MazeApp extends JFrame {
private final MazeMenuBar mazeMenuBar;
public MazeApp() {
super("Maze Solving Application");
setJMenuBar(mazeMenuBar = new MazeMenuBar(this));
setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
pack();
setVisible(true);
}
}